Someone initiating a cross-chain bridge transfer on laptop, phone showing confirmation, coffee shop background, casual DeFi moment.
Protocols

Running a Production-Grade IBC Relayer

Architecture, key management, and monitoring patterns for operating IBC relayers in production. Covers Hermes and Go Relayer deployment, HSM integration, high-availability design, packet lifecycle metrics, and chain upgrade procedures.
introduction
THE LIVENESS LAYER OF THE INTERCHAIN

Why Relayer Infrastructure Is Critical Infrastructure

IBC relayers are not auxiliary services; they are the active transport layer that determines whether cross-chain state transitions succeed, time out, or freeze value.

In the Cosmos SDK and IBC architecture, blockchains do not directly communicate with each other. Instead, off-chain relayer processes monitor on-chain state and submit the cryptographic proofs required to finalize a cross-chain packet lifecycle. This design cleanly separates the sovereignty of each chain from the transport mechanism, but it introduces a critical operational dependency: without a correctly configured and monitored relayer, packets are never delivered, acknowledgments are never written, and timeouts silently expire. For any appchain, exchange, or custodian that depends on IBC for asset settlement or interchain account (ICA) commands, the relayer is not a convenience—it is a liveness requirement.

The operational risk is compounded by the fact that relayer infrastructure must simultaneously satisfy the trust periods of multiple light clients across independent chains. A relayer that goes offline for maintenance, suffers a key compromise, or fails to submit a client update before the trusting period elapses can cause a client expiry event. This freezes all channels on that connection, halting cross-chain value flow and requiring governance intervention to unfreeze. For professional relayer operators and validator teams running high-value channels, this demands a production-grade posture: HSM-backed key management, multi-region high-availability deployments, and alerting on packet delay, client expiry windows, and fee middleware claim opportunities.

The introduction of the ICS-29 Fee Middleware transforms relaying from an altruistic or in-house function into a competitive market. Chains can now register incentivized channels, and relayers compete to deliver packets and claim fees. While this improves the economic sustainability of relayer infrastructure, it also introduces new failure modes: fee-token volatility can make channels uneconomical to service, and a race-to-the-bottom on fees can lead to under-resourced relayers that drop packets during congestion. Teams operating relayers must now balance profitability models against SLA commitments, and chain operators must actively monitor whether their incentivized channels are being serviced by a healthy set of competing relayers.

For exchanges, custodians, and dApp teams that rely on IBC but do not operate their own relayers, the trust assumption is often implicit and unexamined. A single relayer operator servicing a critical channel represents a liveness single point of failure. Chainscore Labs helps integration teams map their relayer dependencies, audit relayer configurations for high-availability and key security, and design multi-relayer strategies that ensure packet delivery even when individual operators fail. Whether you are running Hermes or the Go Relayer, the question is not whether you need a relayer, but whether your relayer infrastructure is resilient enough to meet the trust assumptions your users already depend on.

OPERATIONAL REQUIREMENTS FOR PRODUCTION-GRADE IBC RELAYING

Production Relayer Quick Facts

Key operational facts for teams evaluating or running IBC relayer infrastructure in production, covering architecture, key management, and failure modes.

AreaWhat changesWho is affectedAction

Key Management

Relayer keys control packet submission and fee claims; compromise leads to fund loss or channel manipulation

Relayer operators, Validator operators

Integrate HSMs or MPC; never store raw private keys on relayers

High Availability

Single relayer is a liveness bottleneck; packet timeouts can freeze cross-chain value

Appchain developers, dApp teams, Exchanges

Deploy at least two independent relayer instances for each channel path

Client Updates

Expired light clients halt all packet flow on a connection; recovery requires governance

Chain governance bodies, Relayer operators

Monitor trust periods and automate client update submission before expiry

Chain Upgrades

Node or SDK upgrades can break relayer compatibility, causing packet delays

Node operators, Relayer operators

Test relayer compatibility against upgrade candidates in a staging environment before mainnet activation

Packet Lifecycle

Unrelayed packets can timeout, permanently reversing cross-chain transactions

dApp teams, Exchanges, Custodians

Monitor SendPacket, RecvPacket, and AcknowledgePacket events; alert on pending timeouts

Fee Middleware

ICS-29 shifts relayer incentives from altruistic to paid; channels without fees may lose liveness

Chain operators, Relayer operators

Register fee tokens and incentivize channels critical to your application's cross-chain flows

Denomination Tracing

Incorrect IBC denom parsing leads to balance reconciliation failures

Exchanges, Wallets, Data teams

Implement full path-tracing logic for IBC denominations across all connected hops

technical-context
HERMES VS. GO RELAYER FOR PRODUCTION

Relayer Architecture and Software Selection

The architectural and operational trade-offs between the two dominant IBC relayer implementations that define how operators achieve packet delivery guarantees.

The IBC transport layer relies on off-chain relayers to deliver packets between chains, making relayer software selection a critical operational decision for any team running production-grade interchain infrastructure. Within the Cosmos SDK and IBC ecosystem, two implementations dominate: Hermes, built in Rust by Informal Systems, and the Go Relayer, maintained by the Cosmos Relayer team. While both implement the core IBC relayer algorithm defined in ICS-018, they diverge significantly in their operational posture, performance characteristics, and feature support for advanced middleware like Interchain Accounts (ICS-027) and Packet Forward Middleware.

Hermes is designed as a single-purpose, high-performance relayer with a strong emphasis on correctness and operational safety. It uses an event-driven architecture that subscribes to chain events via WebSocket and maintains in-memory state to minimize RPC queries, making it more efficient under high packet volume. Hermes supports a clear_interval configuration that periodically reconciles on-chain state to prevent drift, and its tx_confirmation flag blocks on transaction inclusion before proceeding, reducing the risk of double-relaying. The Go Relayer, by contrast, uses a polling-based architecture that queries chain state at configurable intervals, which can be simpler to reason about but may introduce higher latency and RPC load. Go Relayer's strength lies in its broader middleware support and its native integration with the Cosmos SDK toolchain, making it the default choice for chains that need ICA controller functionality or custom packet handling.

For operators building high-availability relayer deployments, the selection decision should be driven by the specific packet types being relayed and the SLA targets for delivery. Teams relaying high-value ICS-20 token transfers often prefer Hermes for its lower latency and built-in support for --clear-on-start and --reset recovery commands that handle chain upgrades gracefully. Teams managing ICA channels or multi-hop packet flows through PFM typically require the Go Relayer, as Hermes has historically lagged in supporting these newer IBC application-layer standards. A common production pattern is to run both relayers in parallel: Hermes for latency-sensitive token transfer channels and Go Relayer for ICA and middleware-dependent paths, with each relayer instance managing a distinct subset of channels to avoid non-deterministic double-submission. Chainscore Labs can assess your channel topology and packet volume profile to recommend a relayer architecture that meets your delivery guarantees without introducing conflicting relayer behavior.

AFFECTED ACTORS AND OPERATIONAL REQUIREMENTS

Who Needs a Production Relayer

Validator Operators

Validators running nodes for IBC-connected chains are the most common operators of production relayers. They run relayers to ensure the chains they secure remain connected to the interchain, preventing client expiry and maintaining packet liveness for their delegators.

Key responsibilities:

  • Maintain relayers for every channel their chain opens, especially high-value or high-traffic paths.
  • Monitor client trust periods and submit client updates before expiry to avoid a frozen connection.
  • Ensure relayer keys are funded on both chains for transaction fees.

Operational impact: A validator that fails to relay risks degrading the user experience of the chain they secure. In fee-enabled channels, they also forfeit incentive revenue. Teams should treat relayer uptime with the same severity as validator uptime.

implementation-impact
OPERATIONAL READINESS

Production Deployment Pillars

The core infrastructure components that must be hardened before a relayer can be trusted with mainnet packet delivery and SLA-bound operations.

OPERATIONAL RISK ASSESSMENT

Relayer Failure Modes and Impact

Categorizes common relayer failure modes, their blast radius across the interchain, and the operational actions required to detect, mitigate, and recover from each scenario.

Failure ModeTrigger ConditionAffected ActorsImpactOperational Response

Relayer Process Downtime

Software crash, OOM, or node restart without HA failover

dApp users, exchange deposit/withdrawal pipelines, ICA controllers

Packet delays; channel liveness failure if client expiry approaches

Deploy redundant relayer instances with active/passive or leader election; alert on gap in packet relay metrics

Key Compromise (Relayer Address)

Server breach, exposed mnemonic, or HSM misconfiguration

All channels funded by the compromised address; fee middleware participants

Attacker can drain relayer fee balances or submit fraudulent acknowledgments if key has on-chain authority

Revoke compromised key from fee middleware; rotate to new key; review authz grants; audit packet history for anomalous submissions

Insufficient Fee Token Balance

Fee token price drop, misconfigured top-up, or unexpected channel activity spike

Relayer operator, dApp teams relying on incentivized channels

Relayer stops servicing channels; packets time out; cross-chain positions may become irrecoverable

Implement balance monitoring with thresholds; automate top-up from reserve; configure multiple fee denoms per channel

Client Expiry During Relayer Downtime

Relayer offline longer than trusting period of counterparty light client

All IBC channels on the expired client; connected chains and their users

Frozen client; all channels become inoperable; requires governance proposal to unfreeze

Monitor client expiry heights and trusting periods; set alert thresholds at 50% and 75% of period; prioritize client update submission over packet relay

Incorrect Proof Submission

Relayer submits proofs against wrong block height or state root

Packet sender and receiver; dApp logic dependent on acknowledgment

Packet timeout or failed acknowledgment; cross-chain state inconsistency

Validate relayer configuration for correct RPC endpoints; implement proof verification in relayer logic; monitor acknowledgment failure rates by channel

Chain Upgrade Incompatibility

Counterparty chain upgrades IBC module or changes proof format without relayer update

All channels between upgraded chain and its counterparties

Relayer cannot construct valid proofs; all packet flows halt until relayer is updated

Subscribe to counterparty chain upgrade announcements; test relayer against testnet upgrades; maintain relayer version matrix per connected chain

State Sync or RPC Endpoint Failure

Relayer's configured RPC node falls behind, state syncs, or returns stale data

Relayer operator; packet latency for affected channels

Relayer submits outdated client updates or fails to query packet commitments; packet delays or incorrect timeouts

Configure multiple redundant RPC endpoints per chain; implement health checks; use archive nodes for query reliability

Fee Middleware Claim Failure

Relayer fails to submit fee claim transaction before timeout or with insufficient gas

Relayer operator economics

Loss of accrued fee revenue; relayer may become economically unsustainable for low-margin channels

Automate fee claim submission; monitor claimable fee balances; set gas price buffers for claim transactions

IBC RELAYER OPERATIONS

Production Readiness Checklist

A technical checklist for teams preparing to deploy and maintain an IBC relayer in a production environment with defined uptime and delivery SLA targets. Each item identifies a critical operational domain, the specific signals that confirm readiness, and the failure modes that occur when the domain is neglected.

What to check: Confirm that relayer keys are generated and stored in a dedicated key management system (KMS) or Hardware Security Module (HSM), not as plaintext files on the relayer host. Validate that the signing process is decoupled from the relayer process itself, using a provider-agnostic interface.

Why it matters: The relayer key controls the ability to submit MsgUpdateClient, MsgRecvPacket, and MsgAcknowledgement transactions. A compromised key allows an attacker to grief channels by submitting fraudulent or malicious updates, potentially freezing cross-chain value. For Interchain Accounts (ICA) controllers, key compromise means loss of cross-chain execution authority.

Readiness signal: The relayer configuration references a remote signer (e.g., key_type = 'kms' in Hermes) and the host filesystem contains no raw private key material. Test transactions are signed without the key material touching the relayer process memory.

Chains We Build On

Looking to build on a specific blockchain?

We build smart contracts, DeFi applications, wallets, tokenization platforms, and blockchain infrastructure across the major ecosystems teams choose today. That includes Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana, Sui, Aptos, Hedera, Stellar, and NEAR, with support for additional EVM and non-EVM networks based on your product requirements.

EVM ecosystems

  • Ethereum logo
    Ethereum
  • Arbitrum logo
    Arbitrum
  • Optimism logo
    Optimism
  • Polygon logo
    Polygon
  • Avalanche logo
    Avalanche
  • Cronos logo
    Cronos

Non-EVM ecosystems

  • Solana logo
    Solana
  • Sui logo
    Sui
  • Aptos logo
    Aptos
  • Hedera logo
    Hedera
  • Stellar logo
    Stellar
  • NEAR logo
    NEAR

Additional ecosystems

  • Polkadot logo
    Polkadot
  • Cosmos logo
    Cosmos
  • TON logo
    TON
  • Cardano logo
    Cardano
  • Algorand logo
    Algorand
  • Tempo logo
    Tempo

Also available for Base, appchains, custom EVM networks, and cross-chain product architecture.

PRODUCTION RELAYER OPERATIONS

Frequently Asked Questions

Answers to the most common operational, architectural, and risk-related questions from teams running IBC relayers in production.

A production setup requires more than just running the relayer binary. The core components are:

  • Dedicated full nodes for each connected chain: The relayer needs reliable, low-latency access to CometBFT RPC and gRPC endpoints. Sharing a validating node's RPC is a security and performance anti-pattern. Use sentry nodes or dedicated RPC nodes with pruning configured to retain at least the unbonding period of state.
  • Relayer software instance: Choose between Hermes (Rust, preferred for performance and feature completeness) and Go Relayer (Go, often used for custom integrations). Run as a systemd service or in a container orchestrator.
  • Key management subsystem: The relayer's signing key must be accessible but secure. For high-value channels, this means an HSM or remote signer (e.g., TMKMS). At minimum, keys should be on an encrypted volume with strict filesystem permissions, never on a shared node.
  • Monitoring and alerting stack: Export metrics to Prometheus and build dashboards for packet delay, client expiry, and balance drain. Alert on failure to submit transactions, not just on process health.
  • Redundant power, network, and storage: A single point of failure in any of these will cause missed packets and potential channel timeouts.
Trusted by Industry Leaders

Delivering blockchain solutions for 5+ years.

We have partnered with 50+ leading DeFi protocols, NFT ecosystems, and fintech innovators to build secure, scalable, and capital-efficient blockchain products.

Selected Partners & Clients

ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
ChainVote logo
Reax logo
Sokail logo
Swapsicle logo
SyntheX logo
Tekika logo
Telos logo
Zexe logo
“I've been working with Chainscore Labs for last 3+ years, they've consistently delivered with strong ownership across multiple projects. The team is reliable and detail-oriented.”
L
Lee Erswell
CEO, Telos Foundation
how to get started

How to get started?

If you're looking for blockchain integration, ChainScore Labs has 5+ years of experience helping teams build and integrate exchanges, wallets, smart contracts, tokenization solutions, and protocol-connected products, we can help you choose the right path, integrate securely, and get to production faster. Our team consists of experienced blockchain developers and architects who can help you with your blockchain integration needs.

01

Exploration & Strategy

Define your product goals and choose the right blockchain architecture for your use case.

02

Architecture & Design

Design the smart contracts, tokenomics, and security parameters of your system.

03

Development & Integration

Build and integrate with wallets, oracles, and front-end dApps for a seamless experience.

04

Security & Launch

Comprehensive audits followed by a risk-managed mainnet deployment to protect your users.

Start a build

Need a blockchain engineering team?

Send the project context and we will respond with next steps, scope questions, and a practical path to delivery.