ICM & Relayer Setup
Deploy ICM contracts and set up a relayer between Fuji C-Chain and your new L1.
Token bridging uses Interchain Messaging (ICM) under the hood. Before setting up a relayer, you need to deploy the ICM contracts on your L1.
Deploy Teleporter Messenger
First, deploy the Teleporter Messenger contract on your L1. This contract handles sending and receiving cross-chain messages.
Checking requirements...
Deploy Teleporter Registry
Next, deploy the Teleporter Registry contract on your L1. This contract tracks Teleporter versions and is required by all ICTT contracts.
Checking requirements...
Save the Teleporter Registry address - you'll need it when deploying bridge contracts later in this course.
Set Up the Relayer
Now set up a relayer between Fuji C-Chain and your new L1 to deliver cross-chain messages.
We'll use a hosted relayer (no Docker required) that's perfect for testing. The relayer will automatically shut down after 3 days.
Checking requirements...
In the tool above:
- Select Fuji C-Chain and your new L1 as the networks to relay between
- Create the hosted relayer (it will automatically start running)
- Fund the relayer address with enough gas on both chains if needed
Note: Hosted relayers are free and perfect for testing. They automatically shut down after 3 days. For production or extended testing, use a self-hosted relayer.
If you don't have the relayer running, cross-chain messages will be created but never delivered, and your bridge transfers will appear "stuck".
Is this guide helpful?