IBC v2 specifications
IBC v2 is an experimental protocol model for authenticated communication between applications on separate state machines. It keeps trust in pluggable clients and packet proofs while removing the connection and channel handshakes that shaped IBC v1. The result is a direct client-to-client packet path with application routing and message format carried in each packet.
Protocol model
IBC v2 separates cross-chain communication into three roles: clients verify a remote state machine, core IBC provides transport, authentication, and ordering, and applications interpret the packet data. This separation lets a host state machine use a consensus-specific trust model without requiring core IBC to understand the remote consensus or the application payload.
flowchart LR
A[Source application] --> C[IBC core packet handler]
C --> P[Packet commitment]
P -. relayed proof .-> D[Destination IBC core]
D --> L[Destination client verifies source state]
D --> R[Port router]
R --> B[Destination application]
The protocol is described through the following specification areas:
- Host requirements: The ledger supplies modules, ordered final state updates, time, and a provable key/value store.
- Client semantics: A client tracks a trusted view of a counterparty and verifies state proofs.
- Packet semantics: Core IBC authenticates packet sends, receives, acknowledgements, and timeouts.
- Port and callback contracts: Applications register ports and receive authenticated packet events.
- Application profiles: Higher-level protocols use the packet model for concrete cross-chain actions.
IBC v2 is marked EXPERIMENTAL and lists compatibility with ibc-go v10.0.0 in the overview specification. The parent page, IBC protocol specifications, places this model beside the established core protocol semantics, application standards, and client and relayer standards.
Trust and host model
Light client trust
An IBC client is a local verifier for a remote state machine. It starts from a trusted state and accepts later updates only when the client’s validity rules support them. Core IBC uses the client to verify that a counterparty committed a packet or a packet result at a particular finalized height.
The updated client semantics make this trust boundary explicit as a common interface for many client types. A client defines how it tracks consensus, updates its trusted view, detects misbehaviour, and verifies state membership or non-membership. It also records the counterparty identity and commitment prefix needed to interpret the remote packet paths. This lets the v2 packet model use different consensus and proof systems without changing the core packet contract.
The client boundary keeps the protocol open to different consensus systems. A client can represent a full light-client proof system, a signature or threshold model, a proxy view, or another model that exposes the required state verification behavior. If the counterparty violates its trust model, submitted misbehaviour freezes the client and stops later updates and proof checks until an external recovery process restores trust.
References: spec/…/README.md• L15-18 spec/…/README.md• L23-36 spec/…/README.md• L15-35 spec/…/README.md• L362-389 spec/…/README.md• L423-442
Host state requirements
The host state machine is the ledger that runs IBC and its applications. It must provide enough structure for IBC to store packet commitments, receipts, and acknowledgements in a provable key space. It must also expose ordered final state updates and a secure timestamp so that proof heights and packet timeouts have a stable meaning.
IBC v2 narrows the proof burden to state needed for packet processing. The host reserves the IBC handler’s packet key space and permits that handler to control the relevant writes. Its store must support proofs of both presence and absence, or use a safe sentinel value where absence proofs are not available.
References: spec/…/README.md• L14-26 spec/…/README.md• L60-90 spec/…/README.md• L92-124
Counterparty model
Client-to-client association
IBC v2 replaces the v1 connection abstraction with a pair of client identifiers that point to each other’s state. A RegisterCounterparty action records the identifier used by the remote chain and the prefix under which that chain stores its provable IBC paths. Once both sides have correct client and counterparty records, the pair defines the authenticated stream used by packet flow.
This setup moves an important part of connection safety outside a handshake. Users or an accepted social process must check that each client tracks the intended chain and that the two counterparty records match. A wrong association does not create a trusted path to the intended destination; proof checks fail or packets time out.
The association is also part of client lifecycle state. A client is created with an initial root of trust, then receives one counterparty registration that records the remote client identifier and commitment prefix. The identifiers remain unique and cannot be reused, which prevents old packet commitments from becoming valid under a later client instance.
References: spec/…/README.md• L111-129 spec/…/README.md• L335-389 spec/…/README.md• L476-486
Direct packet addressing
Each packet carries a source client identifier and a destination client identifier. The source identifier points to the destination client on the sending chain. The destination identifier points to the source client on the receiving chain. Together with the sequence number, these values identify the packet stream on both sides.
Direct addressing removes the need to create a channel before sending data. It also means that the packet sender must choose a valid client pair. Core IBC checks that the packet’s identifiers agree with the registered counterparty before it accepts the flow.
References: spec/…/README.md• L131-153 spec/…/PACKET.md• L3-28 spec/…/PACKET_HANDLER.md• L58-102
Packet communication
Packet data model
A packet is the unit of cross-chain transport. It names the two client views, carries a unique sequence, sets a timeout on the destination chain’s clock, and contains one or more application payloads. Each payload names its source and destination ports and carries opaque application data with its encoding and application version.
Because encoding and version travel with the payload, applications can change their message format on a packet-by-packet basis. The receiving application accepts the payload only when it supports the requested version and encoding. This replaces the v1 pattern in which channel setup negotiated a longer-lived application version.
References: spec/…/PACKET.md• L3-61 spec/…/README.md• L147-155
Packet lifecycle
The packet lifecycle moves application data from a local send through authenticated remote receipt and then back through an acknowledgement or timeout. Relayers carry packets and proofs between chains, but the destination chain constructs the expected proof path and value from the packet rather than trusting the relayer to define what it should verify.
The lifecycle follows this order:
- The source application asks core IBC to send payload data. Core IBC checks the client association and commits the packet.
- A relayer submits the packet and a membership proof to the destination. The destination client verifies the source commitment.
- The destination writes a receipt and invokes the receiving application. It writes either application acknowledgements or one error acknowledgement.
- The relayer submits the acknowledgement and its proof to the source. The source application handles the result and the packet commitment is removed.
- If the destination does not receive the packet before its timeout, the source verifies receipt non-membership and invokes timeout handling instead.
The packet receipt prevents replay and prevents a packet from being timed out after successful receipt. The timeout rule also prevents a packet from being accepted after the destination considers it expired.
References: spec/…/PACKET_HANDLER.md• L58-62 spec/…/PACKET_HANDLER.md• L103-132 spec/…/PACKET_HANDLER.md• L134-206 spec/…/README.md• L168-178
Packet proof space
Core IBC uses reserved paths for the three facts that the counterparty must prove: a source packet commitment, a destination receipt, and a destination acknowledgement commitment. The client’s registered commitment prefix is added when the host stores these paths below a larger state tree.
The path design binds each fact to a client identifier and sequence. This prevents one packet stream from overwriting another and lets the receiving client verify that a proof belongs to the intended counterparty.
References: spec/…/PACKET.md• L63-101 spec/…/PACKET.md• L146-170 spec/…/README.md• L92-110
Client update lifecycle
Client updates extend the trusted state used by later packet proofs. A relayer supplies a client-defined message, but the client checks it against a stored trusted consensus state before adding a new state at a later height. If the client detects consensus misbehaviour, it freezes and no later update or proof verification can restore packet flow without an external recovery action.
The lifecycle keeps proof verification tied to a known historical state rather than only to the latest client state. This supports packet messages that reference finalized heights and gives operators a clear boundary between normal relaying and recovery after a trust failure.
References: spec/…/README.md• L327-337 spec/…/README.md• L391-442
Application boundary
Port routing and callbacks
Ports identify applications at the edge of core IBC. An application registers a port on its host chain. The router sends incoming payloads to the application named by the destination port and checks that outgoing payloads come from the application that owns the source port.
After core IBC authenticates a packet, the application only handles its own data and policy. It may reject an unauthorized source application or an unsupported payload format. If a receive callback fails, the packet’s application effects are reverted and the packet receives a universal error acknowledgement.
References: spec/…/README.md• L13-20 spec/…/README.md• L27-54 spec/…/README.md• L12-18 spec/…/README.md• L103-134
Multi-payload processing
IBC v2 can group payloads for several applications in one packet. The receiving side processes the group as one logical receive: all application effects are kept only when every payload succeeds. The acknowledgement keeps one result per payload in the original order, or uses one error value for the whole packet when any payload fails.
Implementations may support only one payload per packet. If they support groups, they must preserve the atomic result and acknowledgement ordering that make the group understandable to the sending applications.
References: spec/…/PACKET.md• L55-61 spec/…/PACKET.md• L104-124 spec/…/PACKET_HANDLER.md• L119-125
General message passing
ICS27-GMP is the first listed IBC v2 application profile in this area. It uses one shared port to carry a request for deterministic execution on a destination chain. The destination derives a caller account from the destination client identifier, sender, and salt, then returns the execution result in a mandatory acknowledgement.
GMP exposes a read-only address query so a caller can compute the destination account before that account is materialized. Its payload remains opaque to core IBC. The destination runtime decides how to decode and execute it while the IBC layer supplies authenticated delivery and ordered packet handling. GMP does not require protocol actions on acknowledgement or timeout, though an implementation may add chain-specific callbacks.
References: spec/…/README.md• L13-19 spec/…/README.md• L30-42 spec/…/README.md• L124-162 spec/…/README.md• L181-233
Change checklist
When these files or sections are changed, remember to consider these:
- Changes to client identifiers or counterparty registration must stay aligned with packet addressing and proof-path construction.
- Changes to commitment prefixes or reserved path formats must be reviewed with host proof queries and every client’s path verification rules.
- Changes to payload version, encoding, or port rules must preserve application callback validation and error acknowledgement behavior.
- Changes to multi-payload support must preserve atomic receive effects and acknowledgement position mapping.
- Changes to timeout or finality rules must preserve the ordering guarantee between receipt and timeout.
- Changes to an IBC v2 application profile must state which packet fields it owns and which behavior remains under core IBC.
- Changes to client update or freeze behavior must preserve the link between stored consensus states and packet proof verification.
- Changes to deterministic account derivation or its read-only query must keep precomputed addresses identical to accounts created during packet receipt.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A client points to the wrong counterparty or uses the wrong remote client identifier | Intended packets fail proof checks or may be associated with an unintended chain | Verify both client views and counterparty records before sending packets |
| A client is frozen after proven consensus misbehaviour | New client updates and packet proof verification stop | Submit misbehaviour evidence and complete external recovery before resuming |
| A commitment prefix or reserved packet path is built incorrectly | A valid counterparty proof cannot be verified against the expected state | Keep host storage prefixes and ICS-4 path construction consistent |
| A packet is received after the destination timeout | The receive is rejected and the source may process a timeout | Compare timeout against the destination chain clock and require finalized proof state |
| One payload in a multi-payload packet fails | The whole receive is rolled back and an error acknowledgement is returned | Process the group atomically and keep acknowledgement entries in payload order |
| An application accepts an unsupported source port, version, or encoding | The application may process data outside its intended contract | Enforce port ownership and payload capability checks in application callbacks |
| A client update is accepted from an invalid trusted height or proof state | Later packet proofs can be checked against an invalid or unavailable consensus view | Require the referenced trusted consensus state and validate updates through the client type |
| A GMP derivation query uses different inputs or rules from packet receipt | A caller predicts an address that does not control the executed call | Reuse the same (client_id, sender, salt) derivation and validation rules for queries and receipt |
Key files
| File | Why to read it |
|---|---|
| spec/…/README.md | Gives the broad IBC v2 model and explains the shift from connections and channels to client pairs and packet payloads. |
| spec/…/README.md | Defines the client trust boundary, lifecycle, update rules, freeze behavior, and proof verification interface used by core packet processing. |
| spec/…/PACKET_HANDLER.md | Describes the packet lifecycle and the checks around send, receive, acknowledgement, and timeout. |
| spec/…/PACKET.md | Defines packet data, acknowledgements, receipts, and the proof facts that cross chains. |
| spec/…/README.md | Explains how applications are named, routed, and authenticated without channels. |
| spec/…/README.md | States the minimum ledger, finality, time, and provable-store properties needed by IBC v2. |
| spec/…/README.md | Defines the boundary between authenticated core packet flow and application behavior. |
| spec/…/README.md | Shows how an application profile uses IBC v2 for deterministic cross-chain message execution and address discovery. |