Introduction to IBC and CosmJS
Ever wondered how cross-chain communication is possible? Get a fast introduction to the world of the Inter-Blockchain Communication Protocol (IBC).
You will learn more about the transportation, authentication, and ordering layer of IBC and take a deeper dive into how token transfers between chains become possible. Finally, you will take a more detailed look at relaying with IBC.
You will also learn about CosmJS, the TypeScript library for the Cosmos SDK. With step-by-step examples, you will learn how to work with CosmJS when building your application-specific blockchain.
# In this chapter
In this chapter, you will:
Learn about IBC:
- Discover what IBC is.
- Get an introduction to the different layers of IBC and how connections, channels, and clients relate to each other in IBC.
- Take a look at IBC token transfers.
- Explore interchain accounts.
- Dive into relaying with IBC.
- Get an overview of helpful tools for IBC.
Learn about CosmJS:
- Discover what CosmJS is.
- Learn how to load CosmJS and Stargate into your projects.
- Learn how to interact with a Cosmos blockchain using the existing methods of CosmJS.
- Learn how to interface with the Keplr wallet in the browser.
- Learn how to create new CosmJS methods so your users can query your specific module and blockchain.
This chapter covers quite a lot of content that goes very deep into the intricacies of IBC. Please be aware that the recommended essentials for IBC are:
The sections on IBC/TAO connections, channels, and clients, Interchain accounts, and IBC middleware are optional and NOT final exam relevant. They are made available only in case you want to dive deeper.
# Next up
First, begin with an introduction to IBC, then you can go ahead an head to the section on fungible token transfers. After getting an overview on helpful tools for IBC, you can start your ComsJS journey with an introduction section.