How IBC Works

How the Inter-Blockchain Communication Protocol Works

The Inter-Blockchain Communication (IBC) protocol is a blockchain interoperability solution that allows blockchains to transfer any type of data encoded in bytes, in a secure and permissionless manner.

The first IBC transaction went out on April 2, 2021. It has since been adopted by 110+ sovereign chains. IBC development is open-source. The main protocol development and maintenance is funded by the Interchain Foundation and hundreds of independent developers contribute to the protocol on a volunteer basis.

IBC provides a set of shared transport semantics for blockchains.
IBC provides a set of shared transport semantics for blockchains.
IBC provides a set of shared transport semantics for blockchains.

IBC: The TCP/IP for Blockchains

The design principles of IBC drew inspiration from the TCP/IP specification that enabled the creation of the internet. Mirroring the way TCP/IP sets the standard for seamless communication between computers, IBC defines a universal framework of abstractions that lets blockchains communicate.

The IBC protocol stack can be decoupled into two distinct elements: the IBC Transport Layer and the IBC Application Layer.

How the IBC Transport Layer Works

The IBC Transport Layer is agnostic to the contents of transferred data packets, much like TCP/IP. The IBC Transport Layer is a foundational layer upon which feature-rich applications are developed, similar to the applications that sit on top of TCP/IP and allow for the flourishing of end-user Internet applications.

The transport layer handles data packet transport, authentication, and ordering. The key components of the transport layer are light clients, connections, channels, and relayers.

Light clients are the heart of the IBC Transport Layer. A light client is a lightweight representation of destination chain that live within the state machine of the source chain.

For example, chains A and B are connected over IBC via their light clients. Chain A will have a light client representing chain B in its own state machine, and Chain B has a light client of Chain A. Light clients keep track of a counterparty blockchain’s consensus algorithm by verifying block headers and Merkle proofs.

Connections are responsible for connecting two different light clients together.

Channels act as a conduit to connect a module/application on the source chain to a module on the destination chain. Data packets between the source and destination chains are sent over this abstraction layer.

Relayers are permissionless off-chain processes that ferry data packets from one chain to another. Relayers scan chain states, build transactions based on these states, and submit the transactions to the chains involved in the network. Relayers play a crucial role in IBC because chains do not directly send messages to each other over networking infrastructure. Instead, they create and store the data to be retrieved and used by a relayer to build IBC packets.

Get an in-depth walkthrough of the IBC components and packet flow on the developer documentation.

IBC Packet flow.
IBC Packet flow.
IBC Packet flow.

How the IBC Application Layer Works

The application layer represents the interface through which end-users interact with the Interchain. It encompasses application modules such as fungible token transfers, interchain accounts, interchain queries, relayer incentivisation middleware, and many more. Application modules on the IBC Application Layer are composable, meaning they can be combined like building blocks to create different end-user products.

Using the IBC Protocol as a Developer: What You Need to Know

The development of IBC is open-source. Anyone can contribute to the protocol, and the code repositories are provided for open-source usage on the IBC Github. There are no hidden fees within IBC and no in-protocol rent extraction.

A global community of development teams and contributors build and maintain the protocol, and its development is funded primarily by the Interchain Foundation. You can read more about IBC's development philosophy on the About Us page or head to the Technical Resource Catalog for information on which team developed a specific part of the code.

If you're interested in getting support, there are two free programs to learn how to build with IBC. The Interchain Developer Academy is a seven-week self-paced learning academy for developers that covers beginner to advanced learning for building with the Interchain Stack, including IBC and provides certification upon successful completion of the final examinations. On the other hand, the Interchain Builders Program is an incubator for early-stage Interchain projects that offers technical support & guidance for Interchain founders & their teams.

Finally, the Interchain Foundation offers a free developer portal with educational resources and technical walkthroughs.

Happy building!

Ready to get started? Head to our Github to begin.

The Inter-Blockchain Communication Protocol
The Inter-Blockchain Communication Protocol is supported by the Interchain Foundation.
Join the Community
Support for developers building with IBC
[email protected]
Sign up for IBC updates

Manage Cookies

We use cookies to provide and secure our websites, as well as to analyze the usage of our websites, in order to offer you a great user experience. To learn more about our use of cookies see our Privacy Policy.