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

overview

Knowledge Base updated: 2026-11-22

IBC Knowledge Base

Orientation

This repository implements IBC CLI, an operational relayer for connecting IBC-enabled networks, alongside protocol specifications, protobuf contracts, and end-to-end validation infrastructure.

The main implementation is the IBC CLI runtime and its chain connectivity, relay, attestation, transaction submission, persistence, and telemetry subsystems. Normative protocol material lives under spec/; public and internal service contracts are defined under proto/.

Critical operational state is held in configured chain and relayer settings, packet-clearing and persistence stores, and the deployed test-chain environments used by the end-to-end harness.

flowchart TD
  CLI[IBC CLI command] --> Runtime[Runtime and services]
  Runtime --> Config[Chain and network configuration]
  Runtime --> Relay[Relay execution pipeline]
  Runtime --> Attest[Attestation and transaction submission]
  Runtime --> Store[Deployment and persistence]
  Runtime --> Telemetry[Operational telemetry]
  Config --> Chains[EVM and IBC chains]
  Relay --> Chains
  Attest --> Chains
  Store --> Relay
  Telemetry --> Runtime
  Proto[Protobuf and v2 API contracts] --> Runtime
  Specs[IBC protocol specifications] --> Relay
  E2E[End-to-end validation] --> Runtime
  E2E --> Harness[E2E harness and matrix]
  E2E --> Scenarios[Relayer scenarios and load tests]

Glossary

  • IBC CLI: The repository's relayer service and command-line operational interface.
  • Packet clearing: Stateful relay work that tracks and processes pending IBC packet delivery.
  • Attestor: The component and contract interface used to produce or submit EVM-facing attestations.
  • E2E matrix: Configuration and orchestration for provisioning combinations of test-chain environments.
  • Catalyst: Test infrastructure used by load scenarios to await traffic completion.

Invariants

  • Protobuf service contracts and generated bindings must remain aligned; proto/…/*.proto is the source contract for generated API use.
  • Relay execution depends on configured, reachable chain clients; changes under internal/chain/** and internal/relay/** must preserve that boundary.
  • Packet-clearing state must be persisted consistently across relayer lifecycle operations; see internal/store/** and relay packet-clearing packages.
  • End-to-end scenarios provision their environments through the shared harness rather than embedding incompatible setup flows; see e2e/internal/harness/**.
  • E2E load scenarios must retain bounded completion and timeout behavior; see e2e/…/catalyst_await.go.

Routing table