mukan-ignite/docs/versioned_docs/version-v0.25/kb/08-relayer.md
Mukan Erkin Törük 26b204bd04
Some checks are pending
Docs Deploy / build_and_deploy (push) Waiting to run
Generate Docs / cli (push) Waiting to run
Generate Config Doc / cli (push) Waiting to run
Go formatting / go-formatting (push) Waiting to run
Check links / markdown-link-check (push) Waiting to run
Integration / pre-test (push) Waiting to run
Integration / test on (push) Blocked by required conditions
Integration / status (push) Blocked by required conditions
Lint / Lint Go code (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
feat: fork Ignite CLI v29 as Mukan Ignite — remove cosmos-sdk restrictions
2026-05-11 03:31:37 +03:00

1.9 KiB

description sidebar_position
IBC relayer to connect local and remote blockchains. 8

IBC relayer

A built-in IBC relayer in Ignite CLI lets you connect blockchains that run on your local computer to blockchains that run on remote computers. The Ignite CLI relayer uses the TypeScript relayer.

Configure connections

The configure command configures a connection between two blockchains:

ignite relayer configure

You are prompted for the required RPC endpoints and optional faucet endpoints. Accounts used by the relayer are created on both blockchains and faucets are used, if available, to automatically fetch tokens.

If the relayer fails to receive tokens from a faucet, you must manually send tokens to addresses.

By default, a connection for token transfers is set up for the ibc-transfer module.

The optional --advanced flag lets you configure port and version for the custom IBC module.

By default, relayer configuration is stored in $HOME/.relayer/.

Remove existing relayers

If you previously used the Ignite CLI relayer, follow these steps to remove existing relayer and Ignite CLI configurations:

  1. Stop your blockchain or blockchains.

  2. Delete previous configuration files:

    rm -rf ~/.ignite/relayer
    
  3. Restart your blockchains.

Relayer configure example

All values can be passed with flags.

ignite relayer configure --advanced --source-rpc "http://0.0.0.0:26657" --source-faucet "http://0.0.0.0:4500" --source-port "blog" --source-version "blog-1" --target-rpc "http://0.0.0.0:26659" --target-faucet "http://0.0.0.0:4501" --target-port "blog" --target-version "blog-1"

Connect blockchains and watch for IBC packets

The ignite relayer connect command connects configured blockchains and watches for IBC packets to relay.

Tip: You can observe the relayer packets on the terminal window where you connected your relayer.