Send LINK to your Contract
Fund our smart contract with LINK
Fund your Contract with LINK
Let’s now send LINK to our TransferUSDCBasic.sol contract so that our contract can pay CCIP's usage fees.
Go to MetaMask, click the “Tokens” tab
Then click on the LINK token

Click the "Send" button:

Paste in the deployed address of your
TransferUSDCBasic.sol:


Enter
3LINKClick the "Next" button

Click the "Confirm" button:

Check LINK Balance in Remix
Check the LINK balance in our TransferUSDCBasic.sol contract. Go back to Remix and your TransferUSDCBasic.sol contract.
Copy your deployed contract's address
Paste the address into the
balancesOffunction and click thebalancesOfbuttonUnderneath you will see
linkBalance: 3000000000000000000which is3LINK

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