Multi-hop Transfer
Perform the multi-hop transfer of `TOK` from `myblockchain` to `myblockchain2`, with a 'hop' through the Avalanche C-Chain.
Transfer the Token Cross-chain with a Multi-hop Transfer
Now that all the bridge contracts have been deployed and configured, send the ERC-20 token from myblockchain
to myblockchain2
with the cast send
foundry command.
The token will be routed through the Avalanche C-Chain and then to myblockchain2
.
Check Balance
To confirm the token was bridged from myblockchain1
to myblockchain2
via the C-Chain, we will check the recipient's balance on myblockchain2
with the cast call
foundry command: