Introducing a new way to review your PRs.

Read the announcement

lfdt-ibc / ibc

The Inter-Blockchain Communication Protocol (IBC) is a neutral, open standard for secure cross-ledger interoperability

View on GitHub

18 documents · Updated Nov 23, 2026

docs / ibc-protocol-specifications

IBC protocol specifications

The IBC protocol specifications define the shared contracts that let independent ledgers exchange authenticated messages. They organize core trust and packet rules, application behavior, client and relayer duties, and the IBC v2 model so that separate systems can work together.

Specification map

Interchain standard set

An Interchain Standard (ICS) is a design document for a protocol or feature used across the interchain. It records the required properties, design choices, and compatibility rules that separate implementations must share. The IBC/TAO category covers transport, authentication, and ordering. The IBC/APP category covers application packet data and processing.

The related knowledge pages provide focused entry points. They separate transport and trust rules from application meaning and from the work needed to keep packet flow moving:

Knowledge pageProtocol areaPurpose
Core protocol semanticsIBC/TAOExplains authenticated clients, connections, channels, packets, proofs, routing, and delivery.
Application standardsIBC/APPExplains application actions such as asset transfer, interchain accounts, general message passing, queries, fees, middleware, and shared security.
Client and relayer standardsIBC/TAOExplains remote-state verification and the off-chain work that moves IBC messages.
IBC v2 specificationsIBC v2Explains the direct client-to-client packet model and v2 application interfaces.

Use the page that matches the question, then follow its links to the standards that provide trust, delivery, or application meaning.

References: README.md• L8-12 spec/…/README.md• L12-35

IBC version families

IBC v1 builds communication through client, connection, and channel abstractions. Applications use the resulting channel to exchange ordered or unordered packets with proof-backed delivery. IBC v2 keeps authenticated packets and separate application meaning, but uses registered counterparty client pairs and packet-level application data instead of the same connection and channel setup model.

The families share clients, host rules, ports, proofs, packet flow, and relayers. Their setup and addressing contracts differ, so an engineer must identify the family before applying a specification.

References: README.md• L26-49 spec/…/README.md• L11-19 spec/…/README.md• L362-389

Protocol layers

Core transport and trust

The core layer gives applications a proof-backed path to send messages between ledgers. A client keeps a trusted view of the counterparty, while host rules define the state and proof surface needed by packet handling. Proofs show that a packet state exists or does not exist. Core rules use those proofs to authorize delivery, acknowledgements, and timeouts.

Core IBC protects packet flow but does not define the meaning of application data. In IBC v1 it delivers accepted packets through channel endpoints. In IBC v2 it authenticates packet traffic through registered client relationships and delivers it to the application endpoint that owns the destination.

Channel specifications also define how applications negotiate channel metadata and how an existing channel can change its parameters. A channel upgrade flushes in-flight packets before both ends adopt the new parameters.

References: spec/…/README.md• L15-35 spec/…/README.md• L14-35 spec/…/README.md• L14-18 spec/…/UPGRADES.md• L5-19 spec/…/README.md• L14-30 spec/…/README.md• L15-35

Application behavior

Application standards define what packet data means and what state changes follow valid delivery. They use core IBC to support asset movement, remote account control, cross-chain contract calls, shared validator security, remote queries, and packet extensions.

The separation keeps application rules independent from transport trust. A shared transport path can therefore serve different business rules. Middleware can add common packet behavior without changing each base application.

Cross-chain validation is one example. It lets a provider chain share validator security with consumer chains. The protocol sends validator changes and maturity signals, carries evidence for consumer-chain misconduct, and can move rewards back to the provider. Other application standards use the same separation for general message passing, fungible token transfer, interchain accounts, fee payment, and middleware.

References: spec/…/README.md• L13-19 spec/…/README.md• L15-33 spec/…/README.md• L14-39 spec/…/README.md• L14-41 spec/…/README.md• L14-41 spec/…/overview_and_basic_concepts.md• L41-49 spec/…/overview_and_basic_concepts.md• L129-140 spec/…/technical_specification.md• L20-60 spec/…/data_structures.md• L146-196

Client and relayer roles

An IBC client is a light verifier for a remote ledger. It keeps trusted consensus state and checks later updates and proofs against that trust. IBC supports client types for different consensus models, including signature-based, Tendermint, Wasm, and loopback clients. A relayer is an off-chain process that reads both ledgers and submits client updates, packets, proofs, acknowledgements, or timeout messages.

The relayer transports data but does not define packet safety. The destination ledger builds the expected proof path and value, then asks its client to verify the relayer-provided proof. Liveness still depends on an active relayer for each path that must progress.

References: spec/…/README.md• L17-35 spec/…/README.md• L444-474 spec/…/README.md• L17-33 spec/…/README.md• L14-22 spec/…/README.md• L14-20 spec/…/README.md• L13-29 spec/…/README.md• L14-20 spec/…/README.md• L13-31 spec/…/README.md• L251-267

Interoperability lifecycle

Cross-chain message flow

An IBC message begins as an application action on one ledger. Core IBC records a commitment that the counterparty can prove. A relayer carries the packet and proof. The destination client and core layer verify them before the destination application changes state.

The return path carries an acknowledgement or a timeout result back to the source application.

flowchart LR
    A[Source application] --> B[Core IBC commitment]
    B --> C[Source ledger state]
    C --> D[Relayer reads packet and proof]
    D --> E[Destination client verifies state]
    E --> F[Destination core checks packet]
    F --> G[Destination application acts]
    G --> H[Acknowledgement or timeout proof]
    H --> D
    D --> I[Source application receives result]

In IBC v1, handshakes establish the connection and channel before packet flow. In IBC v2, each client registers the counterparty client and packet data carries the application context. For example, the v2 GMP application sends opaque call data to a destination that derives a deterministic caller account and returns an execution result.

References: spec/…/README.md• L20-28 spec/…/README.md• L708-735 spec/…/README.md• L362-389 spec/…/README.md• L38-47 spec/…/README.md• L181-230

Specification standardization

The ICS process moves a proposal from an early idea to a complete standard with implementation and ecosystem evidence. The stage tells an engineer how stable the contract is and how much review it has received. Contributors normally keep one change focused on one standard and use review to check compatibility with the other IBC standards.

StageMeaning for an engineer
StrawmanAn idea is forming. No implementation is required.
DraftThe design is open to change during review.
CandidateThe design is complete enough for implementation feedback and has compatible implementations.
FinalisedThe standard has formal status and tested compatible implementations.

Read the metadata and dependency links with the stage. A mature stage is a stronger interoperability target, but it does not remove the need to check the standard's current compatibility claims.

References: spec/PROCESS.md• L1-12 spec/PROCESS.md• L14-40 spec/PROCESS.md• L43-79 spec/CONTRIBUTING.md• L25-44 spec/…/README.md• L41-81

Engineer navigation

Reading paths

Start at the page that matches the system boundary under review. Then follow the dependency direction from application behavior to core trust and delivery, or from relayer work to the client and proof rules that constrain it. For an IBC v2 question, start with the v2 page rather than applying v1 connection and channel assumptions.

  1. Read Core protocol semantics for authenticated packet delivery.
  2. Read Application standards for the state changes caused by a selected packet type.
  3. Read Client and relayer standards for state verification, proof transport, submission, and liveness.
  4. Read IBC v2 specifications for direct client-to-client packet flow or v2 application callbacks.

The root README indexes the current standards. ICS 1 explains the document shape and language. The process document explains how standards gain maturity.

References: README.md• L22-49 spec/…/README.md• L83-105 spec/PROCESS.md• L43-79

Change checklist

When these files or sections are changed, remember to consider these:

  • Changes to client, proof, host, connection, channel, or handler rules can alter the contracts used by both core and application standards. Recheck the requires, required-by, and implements relationships in the affected ICS metadata.
  • Changes to packet data or acknowledgement behavior can affect application decoding, middleware wrapping, relayer message construction, and timeout handling. Recheck both the application standard and the core packet standard. For v2 GMP, also recheck the encoding label, deterministic account inputs, and result acknowledgement contract.
  • Changes to the IBC v1 or v2 model can make links or terminology misleading. Keep the version-family distinction aligned across the index and the related knowledge pages.
  • Changes to a standard's stage or compatibility claims can change how implementers assess it. Recheck the process stage and implementation information shown in the repository index.
  • Changes to the current and deprecated ICS-20 formats can change which packet encoding, token trace, forwarding, or channel version a reader should use. Keep deprecated material clearly separate from the current transfer contract.
  • Changes to cross-chain validation packets or channel metadata can break the provider-consumer contract. Recheck validator updates, maturity notices, slashing requests, reward transfers, and the shared channel version.

Important failure modes

TriggerConsequenceGuard
A destination uses a client that does not verify the counterparty state correctlyA packet proof may be accepted against the wrong trust model, or valid traffic may stopSelect a client that matches the counterparty consensus and inspect its trusted state before sending packets
A relayer submits a packet before the required client state or proof is availableThe message fails, or progress waits for a later relay attemptFollow client-update and proof-height ordering before packet submission
An application accepts packet data without checking its counterparty or application rulesA valid core packet can cause an invalid application state changeKeep application validation at the application boundary and use the packet format defined by its ICS
IBC v1 setup assumptions are applied to an IBC v2 pathThe sender or receiver uses the wrong addressing or handshake modelIdentify the protocol family first and follow its dedicated specification set
A v2 application uses a different client, sender, or salt when deriving a deterministic accountThe call runs as a different account or cannot be matched to its expected callerPreserve the account derivation inputs and validate the packet encoding at both ends
A channel upgrade applies new parameters before in-flight packets are completeCounterparties can interpret the same packet under different rulesKeep both ends in the flush process until the upgrade is proven complete
Provider and consumer chains use different cross-chain validation packet or channel metadata rulesValidator updates, slashing evidence, or reward transfers fail or apply to the wrong chainKeep the CCV packet types, channel version, client pair, and transfer channel contract aligned

Key files

FileWhy to read it
README.mdIndexes the current IBC v1 and v2 standards, categories, stages, and implementation links.
spec/…/README.mdDefines what an ICS is and the document structure and language used by the standards.
spec/PROCESS.mdDefines maturity stages and review expectations for a standard.
spec/CONTRIBUTING.mdDefines how standard changes are proposed and reviewed for compatibility.
spec/…/README.mdDefines the main v1 packet delivery, ordering, and channel behavior.
spec/…/UPGRADES.mdDefines the coordinated channel upgrade and packet-flush contract.
spec/…/README.mdDefines client trust, proof verification, counterparty registration, and client freezing for IBC v2.
spec/…/README.mdDefines the v2 host, storage, finality, and time requirements for packet processing.
spec/…/README.mdDefines v2 general message passing with deterministic destination accounts and result acknowledgements.
spec/…/README.mdDefines the current fungible token transfer contract and token trace behavior.
spec/…/README.mdDefines controller and host roles for channel-based interchain account control.
spec/…/README.mdDefines the opt-in relayer fee contract shared by application stacks.
spec/…/README.mdDefines how reusable application extensions wrap core IBC and a base application.
spec/…/overview_and_basic_concepts.mdExplains how provider and consumer chains share validator security through IBC.
spec/…/technical_specification.mdShows how cross-chain validation connects to core IBC, consensus, staking, slashing, and token transfer.
spec/…/data_structures.mdDefines the shared CCV packet and state contracts between provider and consumer chains.
spec/…/README.mdDefines the off-chain work that discovers and submits permitted IBC messages.