Deploy an ERC-20
Deploy the asset to transfer
To transfer an ERC20 token from C-chain to your own blockchain, the fist thing we will need is the ERC20 token to bridge. You will find a contract in the Starter-Kit under src/8-erc20-to-erc20-interchain-token-transfer/ERC20.sol:TOK of the Starter-kit
Save the Deployed to
address in an environment variable
If you deployed the above example contract, you should see a balance of 100,000 tokens when you run the below command: