Send LINK to your Contract
Fund our smart contract with LINK
Last updated
Fund our smart contract with LINK
Last updated
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 3
LINK
Click the "Next" button
Click the "Confirm" button:
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 balancesOf
function and click the balancesOf
button
Underneath you will see linkBalance: 3000000000000000000
which is 3
LINK
Now you are ready to do a Cross-Chain token transfer using CCIP!