Send LINK to your Contract

Fund our smart contract with LINK

Let’s now send LINK to our TransferUSDCBasic.sol contract so that our contract can pay CCIP's usage fees.

  1. Go to MetaMask, click the “Tokens” tab

  2. Then click on the LINK token

  1. Click the "Send" button:

  1. Paste in the deployed address of your TransferUSDCBasic.sol:

Copy your deployed contract's address
Put your deployed contract address here
  1. Enter 3 LINK

  2. Click the "Next" button

Sending LINK to your smart contract
  1. Click the "Confirm" button:

Confirm the transaction

Check the LINK balance in our TransferUSDCBasic.sol contract. Go back to Remix and your TransferUSDCBasic.sol contract.

  1. Copy your deployed contract's address

  2. Paste the address into the balancesOf function and click the balancesOf button

  3. Underneath you will see linkBalance: 3000000000000000000 which is 3 LINK

LINK balance in your smart contract

Now you are ready to do a Cross-Chain token transfer using CCIP!

Last updated