Cointime

Download App
iOS & Android

Cosmos: Simplifying The Tech Behind The Internet Of Blockchains

Cosmos has been at the front end of innovating cross-chain interoperability infrastructure. It allows for the creation of application specific blockchains, so that each application can scale to its full potential without any limitations. It’s trying to become the internet of blockchains. It’s becoming the hub that connects different blockchains together and allows them to interoperate with each other. But how does it do that? In this article I will simplify the tech behind cosmos that enables it to become the internet of blockchains. So let’s get started.

The HUB

First let’s talk about the hub. The hub is like the center of the cosmos ecosystem. It connects all the blockchains in the cosmos ecosystem together and allows them to interoperate with each other seamlessly. The Cosmos hub is the main hub and it was the first blockchain in the cosmos ecosystem. All the other blockchains are connected to the hub via a protocol known as IBC or inter blockchain communication protocol. Cosmos Hub acts as the central ledger for the whole system. It is responsible for keeping track of all the tokens of different blockchains which are connected to it, so the double spend and other frauds could be prevented.

The ZONES

The independent blockchains in the cosmos ecosystem are called zones. These zones are connected to the main hub via IBC, then the hub connects them to all other zones or isolated blockchains in the ecosystem.

IBC(Inter Blockchain Communication)

IBC protocol is responsible for connecting zones to the main hub so that all blockchains can communicate together and interoperate.

To understand how the IBC works, let me give you an example.

Imagine there are two chains, chain A and chain B.

When you want to send tokens from chain A to chain B, the tokens are locked in chain A and then a message of the proof is sent to chain B that the tokens have been locked on chain A through IBC. Then an equivalent amount of tokens are minted on chain B which are a representation of the tokens locked on Chain A and can be used in the cosmos ecosystem.

Peg-Zones

All the blockchains that are built using the cosmos SDK or have fast-finality can easily be connected with the cosmos hub using IBC protocol but what about blockchains like Ethereum or Bitcoin which have PROBABILISTIC-FINALITY. That’s where the peg-zones come in. Peg-zones are a representation of another blockchain and track the state of that specific blockchain and since they have fast finality like the zones, they can be connected via IBC to the main hub for interoperability.

Let’s understand how peg-zones works.

Let’s say that we want to create a peg-zone of bitcoin, so we can use bitcoin in the cosmos ecosystem. For this to happen the peg-zone for bitcoin will be created that will track Bitcoin’s state. Let’s say we want to send 10 bitcoins from Bitcoin’s blockchain over to cosmos’s ecosystem. For this the bitcoin would be first sent to the Bitcoin address controlled by the peg-zone. Then after finality has been confirmed by the peg-zone after some number of blocks have been mined, then an equal number of Bitcoin tokens would be minted in the peg-zone which will be a representation of the native Bitcoin tokens.

Then these tokens can be sent to other chains in the ecosystem through the hub and can be used for transactions.

Cosmos Hub Architecture

Now let’s talk about the architecture of the cosmos hub. The cosmos hub consists of 3 layers. The first layer is the networking layer. This layer is responsible for connecting all nodes together and helping them all find each other.

The next layer is the consensus layer. This layer is responsible for helping all the nodes reach consensus with each other using the Tendermint BFT, which is cosmos’s consensus algorithm.

The final layer is the application layer called the Tendermint core. This is the layer which makes the hub functional by processing the transaction and updating the state each time a new block is added.

Cosmos SDK

Cosmos SDK is the development kit by which the developers can make applications specific chains. This kit makes it extremely easy for developers to deploy blockchain as they only have to focus on the application layer. The application layer can be made using any language . Once the application layer is made it is connected to Tendermint BFT engine which contains the consensus and networking layer using a protocol known as ABCI or Application Blockchain Interface.

The application specific blockchains built using Cosmos SDK can have their own governance structure and can also have their own consensus mechanism.

If this article was helpful make sure to like and share it.

Don’t forget to follow me on medium and twitter @NEO110x

Comments

All Comments

Recommended for you

  • Anthropic's Secondary Market Valuation Reaches $1 Trillion, Surpassing OpenAI

    On April 23, Anthropic's valuation on private equity trading platforms like Forge Global has risen to around $1 trillion, surpassing OpenAI's $880 billion. It is reported that the valuation of this artificial intelligence startup has rapidly increased due to buyers competing to purchase the increasingly scarce secondary market shares of Anthropic. (Dongxin News Agency)

  • BTC Surpasses $78,000

    Market data shows that BTC has surpassed $78,000, currently priced at $78,000.81, with a 24-hour decline of 0.14%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Bitmine Allegedly Acquires 100,000 ETH Worth $233.7 Million

    On April 23, according to monitoring by Lookonchain, three new addresses suspected to be associated with Tom Lee's Bitmine (0xB6a8...9c9E, 0xc2e0...2831, 0x4e5C...276c) received 100,000 ETH from BitGo, valued at $233.7 million.

  • Musk: AI Chip Shortage Expected in the Future

    On April 23, Tesla CEO Elon Musk stated during an earnings call that the company initiated the Terafab chip factory project due to an anticipated severe shortage of AI chips in the future. He remarked, "In terms of industry growth rates, logic chips, and even more so storage chips, we expect to encounter bottlenecks if we do not manufacture chips ourselves. This is the reason for the birth of Terafab." (Dongxin News Agency)

  • US Spot Bitcoin ETF Sees Net Inflow of $331.9 Million Yesterday

    On April 23, according to monitoring by Trader T, the US spot Bitcoin ETF experienced a net inflow of $331.9 million yesterday.

  • US Spot Ethereum ETF Sees Net Inflow of $96.43 Million Yesterday

    On April 23, according to monitoring by Trader T, the US spot Ethereum ETF saw a net inflow of $96.43 million yesterday.

  • U.S. State Department Urges American Citizens to Leave Iran Immediately

    On April 23, the Bureau of Consular Affairs of the U.S. State Department posted on social media that, given Iran's announcement of partial airspace reopening, American citizens in Iran should leave immediately. The post advised U.S. citizens to stay informed about the situation through local media and to consult commercial airlines for information on flights departing Iran. Additionally, U.S. citizens can also travel by land to Armenia, Azerbaijan, Turkey, and Turkmenistan, but should avoid areas along the Iran-Afghanistan, Iran-Iraq, or Iran-Pakistan borders.

  • Tesla: Increasing Investment in AI Computing Power and Advancing New Battery and Material Factories

    On April 23, Tesla's official blog announced that the company is increasing its investment in AI computing power to advance the construction of new battery and battery materials factories. This move is also aimed at further preparing for the production of the third-generation Megapack energy storage system, the Tesla autonomous electric vehicle Cybercab, and the Tesla electric truck Semi.

  • USA: Deploying the Strongest Military Force in History to the Middle East

    On April 23, local time April 22, the U.S. Central Command announced that since the U.S. military began its blockade operations in the waters related to the Strait of Hormuz on April 14, it has requested 31 vessels to turn around or return to port as part of the blockade. The U.S. Central Command also stated that the military is currently deploying the most comprehensive and powerful military force ever seen across the Middle East.

  • Iran Does Not Officially Respond to Extended Ceasefire Deadline

    On April 23, Iran has not provided any official response regarding U.S. President Trump's announcement to extend the temporary ceasefire deadline, nor about the possibility of a second round of negotiations with the U.S. Iranian public opinion widely believes that the contradictions in U.S. rhetoric and its constantly changing policies are the main reasons for Iran's inability to trust the U.S. Additionally, Israel's repeated violations of the Lebanon-Israel ceasefire agreement and the ongoing U.S. maritime blockade against Iran are key factors affecting the negotiation process. Analysts point out that the risk of renewed war and conflict remains very high, and if both sides continue to insist on their current demands and conditions, the nature of this regional crisis may evolve from a purely U.S.-Iran issue into a global problem.