Blockchain Oracles for Connected Smart Contracts | Chainlink Documentation (2024)

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.

  1. Open up MetaMask.

  2. At the bottom of the MetaMask windows, click Import tokens.

  3. 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.

  4. Paste the token contract address into MetaMask in the Token Address input. The token symbol and decimals of precision will auto-populate.

    Blockchain Oracles for Connected Smart Contracts | Chainlink Documentation (1)

  5. Click Next. A new window will appear, showing the LINK token details.

  6. Click Import Tokens to confirm adding the new token.

MetaMask should now display the new LINK token balance.

Get testnet LINK from a faucet

  1. Go to https://faucets.chain.link/.
  2. In Metamask, select the network where you want to receive testnet LINK.
  3. Click Connect wallet so the faucet app can detect the network and wallet address.
  4. 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.
  5. In the Request type section, select the testnet funds that you want to receive.
  6. 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 on-chain, the faucet app shows "Request complete" and the transaction hash of your request.

Blockchain Oracles for Connected Smart Contracts | Chainlink Documentation (2)

Blockchain Oracles for Connected Smart Contracts | Chainlink Documentation (2024)

FAQs

What do blockchain smart contracts need oracles for? ›

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 do Chainlink oracles work? ›

Summary. Chainlink is a decentralized oracle network that provides real-world data to smart contracts on the blockchain. Smart contracts are pre-specified agreements on the blockchain that evaluate information and automatically execute when certain conditions are met.

How does Chainlink CCIP work? ›

Chainlink's CCIP enhances blockchain interoperability, bridging multiple blockchain networks together seamlessly. CCIP ensures accurate, tamper-proof data transfer across chains using decentralized oracles. Chainlink's collaboration with Swift explores tokenization and real-world financial data integration.

What is an example of a blockchain Oracle? ›

Examples. Kustov and Selanteva list the following types of oracles: a program, external to the blockchain that can provide, for example, sports results for betting or traffic camera information for ticketing the offenders; a unit oracle that is built-in into a physical sensor (for example, the same traffic camera);

How do Oracles work in smart contracts? ›

Oracles are a critical tool to supplying smart contracts with environmental data from sensor readings, satellite imagery, and advanced ML computation, which then allow smart contracts to dispense rewards to people practicing reforestation or engaging in conscious consumption.

How do Blockchain oracles work? ›

Oracles send data to smart contracts running on the blockchain, which the smart contracts then utilize to execute predetermined actions in response to the data. For the sake of a financial contract, for instance, an oracle may supply data on current prices in real time.

How do Chainlink oracles make money? ›

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.

How to implement Chainlink Oracle? ›

Building the Chainlink Price Oracle
  1. Step 1: Setting Up the Environment. First, ensure you have a development environment with Solidity and Truffle installed. ...
  2. Step 2: Creating the Oracle Contract. ...
  3. Step 3: Deploying the Oracle Contract. ...
  4. Step 4: Integrating the Oracle into DeFi Applications.
Sep 5, 2023

Is Chainlink CCIP better than LayerZero? ›

Even though both protocols are architecturally pretty similar, the main differences lie in the configurability of their security architecture. Conclusion: Chainlink offers a more developer-friendly, security-focused approach right out of the box whereas LayerZero offers more control and customisability.

Is Chainlink CCIP a bridge? ›

Chainlink CCIP: The Superior Infrastructure for Canonical Token Bridges. As the industry standard for secure cross-chain interoperability, Chainlink CCIP serves as the optimal infrastructure to power the canonical token bridge for any blockchain ecosystem.

What blockchain does Chainlink run on? ›

Chainlink can facilitate secure communications between Ethereum projects and various off-chain data. Because Chainlink's LINK token is built on the Ethereum platform, LINK is compliant with the Ethereum platform's protocols.

Who is Chainlinks competition? ›

Other important factors to consider when researching alternatives to Chainlink include reliability and ease of use. We have compiled a list of solutions that reviewers voted as the best overall alternatives and competitors to Chainlink, including Zengo Wallet, Ethereum, Venly, and CoinRabbit.

What are the top blockchain oracles? ›

In this guide, we cover the top 7 blockchain oracles you can invest in today. They include: Chainlink (LINK) · Pyth Network (PYTH) · UMA (UMA) · iExec (RLC) · Tellor (TRB) · API3 (API3) · Band (BAND). Blockchain technology unlocks unique features, but decentralized networks are technically isolated from the real world.

What are oracles used for? ›

Software oracles deliver data from digital sources such as websites, servers, or databases, while hardware oracles deliver data from the real world. Software oracles can deliver real-time information such as exchange rates, price fluctuations, or flight information.

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.

Why are oracles important in crypto? ›

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.

What are oracles in solidity? ›

Oracles are bridges between smart contract protocols running on the blockchain and real-world data feeds. In previous Solidity tutorials, we've designed a simple Ethereum escrow protocol into our smart contracts by building an oracle, as well as how to combine different contract protocols.

Top Articles
Latest Posts
Article information

Author: Dong Thiel

Last Updated:

Views: 6295

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Dong Thiel

Birthday: 2001-07-14

Address: 2865 Kasha Unions, West Corrinne, AK 05708-1071

Phone: +3512198379449

Job: Design Planner

Hobby: Graffiti, Foreign language learning, Gambling, Metalworking, Rowing, Sculling, Sewing

Introduction: My name is Dong Thiel, I am a brainy, happy, tasty, lively, splendid, talented, cooperative person who loves writing and wants to share my knowledge and understanding with you.