Register Remote Bridge

Register the remote bridge with the home bridge

After deploying both the home and remote bridge contracts, you need to register the remote bridge with the home bridge. This registration process informs the Home Bridge about your destination blockchain and bridge settings.

Register Remote Bridge

To register your remote bridge with the home bridge, use our toolbox:

Make sure you have:

  1. Deployed your ERC-20 token (from Deploy ERC-20 Token)
  2. Deployed your ERC20Home contract (from Deploy Home)
  3. Deployed your ERC20TokenRemote contract (from Deploy Remote)
  4. Have enough test ECH for gas fees
Logo

Register Remote Contract with Home

Register the remote contract with the home contract.

This will call the `registerWithHome` function on the remote contract on the current chain (). This links the remote bridge back to the home bridge on the source chain.

Please select a source chain

Please enter a remote contract address

Verify Registration

After registration, you can verify the process was successful by looking for the registration event in the transaction logs. You can find the registration confirmation in the toolbox.

Note

The registration process is a one-time setup that establishes the connection between your home and remote bridges. Once completed, you can proceed with token transfers.

Is this guide helpful?

On this page