Overview of Multi-hop Transfers
Learn about how ICTT supports multi-hop transfers between spoke chains.
The token bridge also supports "multi-hop" transfers, where tokens can be transferred between remote chains via the home chain. To illustrate, consider two remotes Ra and Rb that are both connected to the same home H. A multi-hop transfer from Ra to Rb first gets routed from Ra to H, where the remote balances are updated, and then H automatically routes the transfer on to Rb.
In this example, our Ra chain is myblockchain
, our Rb chain is myblockchain2
, and H chain is the Avalanche C-Chain.
What we will do
- Deploy a new local blockchain
myblockchain2
- Deploy a new
ERC20TokenRemote
contract tomyblockchain2
- Register the new
ERC20TokenRemote
contract with theTokenHome
contract on the Avalanche C-Chain - Perform a multi-hop transfer of
TOK
frommyblockchain
tomyblockchain2
, with a 'hop' through the Avalanche C-Chain
Loading...