Mint from Destination 2 - Base Sepolia
For this part of the workshop we will be minting on a new destination. In the Recorded Workshop, the destination Chain was Polygon Mumbai, However, Mumbai has been deprecated so we will be changing it
We will demonstrate how you can send messages & mint tokens across multiple chains using Chainlink CCIP
We will demonstrate how you can send messages & mint tokens across multiple chains using Chainlink CCIP
We will be using Base Sepolia instead, since Polygon Mumbai was deprecated in April 2024.

Follow this link to switch your Metamask wallet to the Base Sepolia network - Make sure the Chain ID is 84532
Use the Faucet to receive some LINK and ETH on the Base Sepolia Network
Make sure you add the LINK token to your wallet by importing it as per the above links. You can either do that by copying the Link token address and manually importing it, or by clicking the button provided.
Now that we have our important prerequisites taken care of, lets dive into the code. Make a new file in Remix, CrossSourceMinterBaseSepolia.sol and copy the following in there.
Copy this code into your new CrossSourceMinterBase.sol File
Go to the Deployment tab and include your CrossDestinationMinter.sol's address as the parameter (this is the same contract we deployed on Ethereum Sepolia)

Now send the newly created CrossSourceMinterBaseSepolia contract 5 LINK so it can pay for operations.

Once LINK is in the contract you should confirm that it is there by clicking the linkBalance button and pass the CrossSourceMinterBaseSepolia address as the input parameter.




Have patience, this transaction may take some time as it works towards finality on the Source & Destination Chain.
If done correctly the outcome should look something like this

CONGRATULATIONS 🥳
Celebrate by tweeting about #chainlink and share your screenshots!
Last updated


