The Getting Started guides show you how to send ETH on the Sepolia testnet, but some contracts might require you to use LINK token instead. This page shows you how to obtain testnet LINK and send it to your MetaMask wallet.
To see your LINK token balance in MetaMask, you must manually add the token.
Open up MetaMask.
At the bottom of the MetaMask windows, click Import tokens.
Find the LINK token contract address for the network that you want to use. On Sepolia, the LINK token address is: 0x779877A7B0D9E8603169DdbD7836e478b4624789
. See the LINK Token Contracts page to find the addresses for different testnets.
Paste the token contract address into MetaMask in the Token Address input. The token symbol and decimals of precision will auto-populate.
Click Next. A new window will appear, showing the LINK token details.
Click Import Tokens to confirm adding the new token.
MetaMask should now display the new LINK token balance.
Get testnet LINK from a faucet
- Go to faucets.chain.link.
- In MetaMask, select the network where you want to receive testnet LINK.
- Click Connect wallet so the faucet app can detect the network and wallet address.
- If you want to receive testnet funds at a different address, paste it in the Wallet address section. This field defaults to your connected wallet address.
- In the Request type section, select the testnet funds that you want to receive.
- Complete the Captcha and click Send request. The funds are transferred from the faucet to the wallet address that you specified.
After the transaction is confirmed onchain, the faucet app shows "Request complete" and the transaction hash of your request.
FAQs
A blockchain oracle is a service that provides external data to smart contracts, enabling them not only to fetch data from other blockchains but also from the outside or off-chain world: sports events, banking data, and much more.
What kind of data do oracles help smart contracts access on the blockchain supra question? ›
Oracles are the bridge connecting the blockchain to the outside world. They enable smart contracts to use information such as weather data, stock prices or even election results. Oracles have many practical and powerful applications, from DeFi to crop insurance.
How does Chainlink solve the Oracle problem? ›
Chainlink provides an innovative solution to the Oracle Problem by offering a decentralized oracle network. This network consists of multiple independent nodes that retrieve and verify data from various sources before delivering it to smart contracts on the blockchain via a link.
What is the Oracle problem in smart contracts? ›
Regarding blockchain and smart contracts, the oracle problem involves the trustworthiness and reliability of oracles. Curran defined the oracle problem (in the blockchain) as “the security, authenticity, and trust conflict between third-party oracles and the trustless execution of smart contracts”.
What are oracles used for? ›
Oracles are complex computerized systems that connect data from the outside world (off-chain) with the blockchain world (on-chain). Most blockchains have native cryptocurrencies that are used to transfer value, enable the operations of the protocol, or facilitate governance.
What is the most used blockchain for smart contracts? ›
Ethereum is the world's first and one of the best smart contract platforms which remains the most popular choice among developers. Following Bitcoin's decentralized concept, Ethereum has become a leader in smart contract platforms. Since its inception in 2015, the platform has launched more than 4,400 dApps.
How to create a blockchain oracle? ›
When it's complete, an email is sent that contains information about your instance.
- Sign in to Oracle Cloud Infrastructure.
- On the Oracle Cloud Infrastructure page, search for Blockchain Platform. ...
- Click Create Blockchain Platform.
- On the Create Blockchain Platform page, enter the information for your service:
How does Oracle blockchain work? ›
Blockchain Oracles are similar to a third-party service provider. They link third-party applications and services to the blockchain and supply external data to smart contracts. Smart contracts and blockchains are isolated from the real world by purpose.
What language is used to create smart contract in blockchain? ›
Rust. Rust is a popular smart contract programming language for many non-EVM-compatible blockchains such as Polkadot and Solana, and unlike many of the other languages listed here, it's not just for Web3 development.
Is Chainlink owned by oracle? ›
Key Takeaways. Chainlink is a decentralized oracle network that connects blockchains with off-chain data.
Every oracle within the Chainlink decentralized oracle network is incentivized to provide accurate data with a reputation score assigned to each. When oracles follow the software's rules and provide useful (accurate) data, they are rewarded with the Chainlink network native ERC-20 cryptocurrency token, LINK.
What is the solution to the oracle problem? ›
Leveraging decentralized oracles emerges as the consensus solution among blockchain specialists for addressing this challenge. A decentralized oracle obtains real-world data from off-chain sources of information and transfers it to smart contracts on-chain through a decentralized network of nodes.
What kind of data does Oracle help smart contracts access on the blockchain? ›
DeFi (Decentralized Finance)
The integration of blockchain oracles into the area of decentralized finance (DeFi) is nothing short of revolutionary. DeFi applications leverage oracles to provide smart contracts with real-time access to critical financial data, such as price feeds and market information.
How to use Oracle in smart contracts? ›
Our steps to run the end-to-end test:
- Compile and run the oracle contract.
- Compile and run the client contract.
- Get the address of the oracle contract.
- Set the oracle address in the client contract.
- Add test data to the oracle contract.
- Test that we can retrieve that data in the client contract.
What is the difference between smart contract and Oracle? ›
Blockchain oracles are an essential component of decentralized finance. Although smart contracts are self-executing, they typically need information from the outside world. Blockchain oracles supply that information. As computer code living on the blockchain, smart contracts are designed to be immutable.
Why do blockchains need oracle? ›
The answer is it requires an oracle mechanism to fetch accurate match outcomes offchain and deliver it to the blockchain in a secure and reliable manner.
What is the purpose of the oracle? ›
An oracle is a person or thing considered to provide insight, wise counsel or prophetic predictions, most notably including precognition of the future, inspired by deities. If done through occultic means, it is a form of divination.
What is a common use of oracles in Web3? ›
Oracles act as the bridge builders, connecting blockchain based applications like dApps with external data sources. Web3 APIs provide a standardized way for dApps to interact with oracles and unlock off-chain information.
What is the role of oracles in DeFi? ›
Blockchain oracles are data feeds that source, verify, and transmit external information to smart contracts running on the blockchain. In the world of decentralized finance (DeFi), oracles play a crucial role. They serve as both inbound and outbound bridges for data shared between blockchains and the outside world.