Cosmos Blockchain

The world was shook after the Bitcoin White Paper was written by Satoshi Nakamoto on October 31, 2008. Bitcoin has, among other others, opened the world to blockchain technologies. Since then, floodgates have opened, blockchain technology has been embraced by some of the biggest corporations in the world. Ethereum has showed the world the power of blockchain technologies.

However, there are issues with accelerated adoption. Problems exist in the fields of scalability and interoperability. Cosmos Blockchain is trying to overcome all of these and push blockchains to the next level. Before we get to learn Cosmos, let’s take a closer look at the problem of Scalability and Interoperability.

What is Cosmos Blockchain? Most Comprehensive Guide

Scalability and Interoperability

Issue # 1: Scalability

For bitcoin and ethereum to contend with more popular systems like Visa and PayPal, they need to really step up their game when it comes to transaction times. Although PayPal manages 193 transactions per second and Visa manages 1667 transactions per second, Ethereum performs just 20 transactions per second, while Bitcoin manages 7 transactions per second! The only way these numbers can be strengthened is by focusing on their scalability.

There have also been several potential solutions to the problem of scalability, such as:

However, though they can all be helpful, they have their own drawbacks.

Segwit is a vertical scaling method, which means that it is highly dependent on the physical capability of a single system. Lightning Network, on the other hand, is a great payment system, but it can only accommodate microtransactions right now.

Issue # 2: Interoperability

Taking a look at the current environment, we have various crypto coins in the cryptosphere, such as Bitcoin, Ethereum, Litecoin, etc. Similarly, in the legacy financial world, we have structures such as the traditional banks that use SWIFT, ACH, etc.

The concern is that it is extremely difficult for these different institutions to interact with each other. It’s rare for bitcoin to learn what’s going on in Ethereum, and vice versa. More frequently than not, these blockchains are silos and only exchange details with each other. However, we do have options such as atomic cross-chain exchange, which is not genuine interoperability.

It’s twice as complicated when banks want to connect with cryptos.

That’s why crypto exchanges, which provide a gateway between cryptos and banks, are becoming so powerful and significant. There is, indeed, a question in itself. Exchanges are not a decentralized body and are particularly vulnerable.

In fact, there is another area where this miscommunication between the legacy world and the Crypto universe can lead to a catastrophic outcome: the ICOs.

In ICOs, an individual earns millions of dollars in return for their tokens, but keeping the money in their bank accounts can be difficult. The banks will naturally like to know where all the money comes from, and who were the ones that supplied the money, which is something that is almost impossible to do.

Cosmos Blockchain is the Solution

Cosmos strives to become a “internet of blockchains” that can address all challenges once and for all. The architecture of Cosmos consists of multiple separate blockchains called “Zones” connected to the main blockchain called “Hub”.

As they state on the Cosmos whitepaper, the zones are operated by Tendermint Core, which offers a high-performance, reliable, stable PBFT-like consensus engine where strict fork-accountability guarantees hold over malicious actors’ behaviour. Tendermint Core’s BFT trust algorithm is well-adapted for scaling blockchain’s that are public proof-of-stake.

Cosmos Blockchain is the Solution
Image Credit: Cosmos Video

The Crew That Made Blockchain Cosmos

Cosmos is sponsored by the Interchain Foundation (ICF). The Tendermint team has been hired by the ICF for production.

Here’s a brief snapshot of the ICF and Tendermint teams:

Blockchain Cosmos
Image Credit: Cosmos Network

Tendermint and, by extension, Cosmos have a brilliant team behind them. Let’s see the key players:

Jae Kwon: He is the CEO and founder of Tendermint. He had earlier co-founded the “I done this” collaboration app for teams. He has also made a number of contributions to multiple projects, including, Flywheel networks and Yelp.

Ethan Buchman: CTO and co-founder, has a University of Guelph Master’s degree and 2+ years of experience as a research scientist. His first job in blockchain was with Eris Industries in 2014.

Peng Zhong: The head of design. He is a self-described autodidact with 7+ years of experience as a full-stack JavaScript developer for Nylira, a web development company he founded.

Tendermint: The Fuel That Powers Cosmos Blockchain

Tendermint is a version of PBFT i.e. Practical Byzantine Fault Tolerance.

The Byzantine Fault Tolerance or BFT system is a system that has successfully solved the Byzantine General’s problem.

The Byzantine Generals Situation

The Byzantine Generals Situation
Image Courtesy: Medium

Okay, so assume that there’s a bunch of Byzantine generals and they want to invade the city. They face two very distinct problems:

In order to have good communication, the armies on the left side of the castle send a messenger to the armies on the right side of the castle with a message that says “ATTACK WEDNESDAY.” But, imagine the armies on the right are not ready for the assault and say, “NO. ATTACK FRIDAY “and send the messenger back to the army on the left through the streets. This is where we have a challenge.

A variety of things could happen to the messenger. He could be arrested, betrayed, killed and replaced by another city messenger. This would lead to the armies having their info tampered with, and that could end in an uncoordinated assault and defeat.

This has many strong ties to blockchain. The chain is a vast network; how could you possibly trust it? If you sent anyone 4 Ether out of your wallet, how would you know for sure that someone on the network is not going to tamper with it and shift 4 Ethers to 40?

What these generals need is a compromise structure that can guarantee that their army will actually attack as a unit after all these setbacks. It just so happens that Tendermint is one of those consensus structures.

Another Tendermint property that makes it a good BFT algorithm is its fork accountability. The framework of Bitcoin and Ethereum (as of right now) is not really the most fork-accountable. Forks are still going on in Bitcoin, as we have seen with Bitcoin and Bitcoin Cash, and we all heard about the notorious ETH-ETC break.

Having a system that is fork-accountable means that the malicious actors do not allow the network to be broken by their actions. This also reduces the chance of a double-spending attack.

Defining some Terms in Tendermint

Tendermint is a simple, high-performance BFT consensus framework that is fork-accountable.

Let’s first get familiar with some of the terminology we’re going to use:

What is the State Machine?

The state machine is the Tendermint protocol engine, so to speak. The following diagram gives you a clear idea of what it is going to be like:

The state machine is the Tendermint protocol engine

Okay, so what’s going on here?

Can you recall the states that every round is going through? NewHeight, Propose, Prevote, Pre-commit, and Commit.

Of such, “Propose, Prevote, Precommit” consists of one round, while the other two are particular rounds. In the optimal case, the state change will be something like this:

NewHeight- > (Propose- > Prevote- > Precommit)+- > Commit- > NewHeight- > …

But, that’s not how it would always function. Multiple rounds can be needed until the block has been committed. The following are the reasons why multiple rounds may be needed:

  • The nominated proposer may be absent.
  • The block proposed can be invalid.
  • The block did not propagate in time.
  • >2/3 of the prevotes were not provided in time by the validator nodes.
  • While + 2/3 of the prevotes are required to move on to the next stage, at least one validator could have voted < nil > or maliciously voted for something else.
  • >2/3 of the block pre-commitments have not been received even though pre-commitments may have been received.

What happens in every state?

Okay, so now let’s look at each and every situation and see how the entire thing comes together.


A block to be inserted at (H, R) is suggested at this point by the appointed proposer, i.e. the node chosen. This stage finishes in one of two ways:


Now we’re heading to the prevote stage. Every validator needs to make a decision at this point.


Now we begin the final phase of the “loop” called the “precommit.” After reaching this stage, the validators pre-commit to their decision by transmitting their prevotes. Each of the following three situations that arise

While this goes on, the nodes keep on guessing about the pre-commits throughout the network.

At the end of the day, if the proposed block gets more than 2/3rd pre-commits, then we push onto the “Commit” stage. However, if they do not hit that stage, they must join the next round’s “Propose” round.


The Commit State is not part of the “round.” It’s one of the two exclusive rounds along with NewHeight. During the commit state, two simultaneous conditions are tested to see whether or not they are being met.

When this is completed, the block will be committed to the network.


Simply raises the height of the block by 1 to indicate that the block has been inserted.

Selecting the Validators

As you might have known, selecting the initial set of validators is essential to the operation of Cosmos. So, how exactly are they going to be selected?

Unlike Bitcoin, where anybody can become a miner at any moment, there are only so many validators that the Tendermint network can take in. Because validators will need to execute a lot of tasks independently, increasing the number of validators will only lead to a delay.

That is why Cosmos chose to select 100 validators on the day of Genesis (i.e. the day of the fundraiser). The number of validators will rise by 13 percent per year for 10 years, when it settles at 300.

Cosmos chose to select 100 validators
Image credit: Cosmos Whitepaper

So, is Tendermint a good thing?

Cosmos Whitepaper states that the Tendermint delivers exceptional performance. In benchmarks of 64 nodes distributed across 7 data centers on 5 continents, in commodity cloud instances, Tendermint consensus can process thousands of transactions per second, with commit latencies in the order of one to two seconds. Notably, the output of well over a thousand transactions a second is sustained even under extreme adverse circumstances, with validators crashing or sending maliciously designed votes.

The graph below confirms the point mentioned above:

Cosmos block size
Image Credit: Cosmos Whitepaper

Tendermint’s advantages

Tendermint Core connects to blockchain systems through the Application Blockchain Interface (ABCI).

The Hub and Zones: The Cosmos Blockchain Core

As mentioned above, the infrastructure of the Cosmos will adopt the Hub and Zone form. There will be several parallel blockchain connected to the main blockchain of the Hub. Think about our Sun and its Solar System.

The Cosmos hub is a distributed ledger where individual users or Zones may hold their own tokens. Zones can communicate with each other through the Hub by using IBC or Inter Blockchain Communication.

Cosmos Ecosystem
Image Credit: SlideShare

Obviously, since the Hub plays such a critical role in the blockchain network of the Cosmos, its protection is extremely important. As a consequence, it is protected by an internationally autonomous network of validators. This set will withstand attacks as extreme as a continental network partition or a nation-state-sponsored attack.

Now, the Zones are linked to the Hub.

The Zones are communicating with the Hub using IBC packets. A certain number of Atom tokens must be taken by the Zone validators into the hubs. If, in the event, the zone begins to act maliciously, then its staked Atom is slashed.

Let’s see how Zones and Hubs communicate with each other using IBC.

How Does IBC in Cosmos Work?

How Does IBC in Cosmos Work?
Image Credit: GitHub

In order to help understand how Inter Blockchain Communication can work in the Cosmos, let’s look at a working example. Know that you’ve got three blockchains:

Suppose that Zone 1 decides to communicate with Zone 2 via a Hub by sending a message called a “packet.” How is this going to work?

And why are we doing this? Why are we breaking the IBC into two parts?

In Cosmos, the zones are supposed to have separate model tokens, economies and governing schemes. That sounds pretty cool, but what does that have to do with this?

Splitting the IBC into two sections enables the native-fee-market system of Zone 2 to decide which packets are to be transmitted without placing any limits on Zone 1 as to how many packets they can send.

Think of a trade between two nations. Suppose that Country A sends some iron, coal, and gold to Country B. Unknown to A, B, the use of steel has been banned. By going through a portal, say Nation C, A can send whatever they want, and B can receive whatever they want.

Atom Token

The original token used in the blockchain of Cosmos will be Atom. Atom is not meant to be a means of trade or a store of interest. It will be used exclusively for sketching on the blockchain of the Cosmos.

According to Smith+Crown,the atoms present in the crowdsale will not be liquid immediately: once formed, they will vest at a steady rate per hour over the course of two years. In consideration of the two-year vesting period, if the transaction collects $5 million and produces nearly 625,000 Atoms, they will vest at a rate of 35.6 Atoms per hour.

Cosmos held its fundraiser on 6 April 2017 and raised 4.87k BTC/246.89k ETH and released a total of 168,475,963 ATOMs.

During the fundraiser, ATOMs were spread as follows:

Distribution of Atoms Tokens

Transaction fees in Cosmos

Since the zones can have their own native tokens, the hub validators can accept any token or any mixture of tokens they want as their transaction fees. The exchange rate will also be fixed by the validators as they see fit, as long as the gas cap of the block is not surpassed.

Of the fees collected, 2 percent goes to the reserve pool, while the remainder is allocated among the validators in proportion to their position.

Cosmos Blockchain Governance

As you might expect, for a structure like Cosmos, having a strict governance model is completely necessary. The validators should be responsible for the general safety and well-being of the program. Changes in the ecosystem of the Cosmos are made through the vote of the validators. There are certain conditions that must be met before a vote can take place:

On each initiative, the electors will vote for either of the following:

On the basis of the votes, the following conditions are possible:

Cosmos Blockchain Use Cases

Cosmos has some extremely interesting use-cases:

Cosmos Blockchain: Conclusion

Cosmos and Tendermint are some of the most interesting projects out there. They bring a whole new level of scalability and interoperability to blockchains, something that it desperately needs right now. Only time will tell how it will keep some of its rivals in interoperability spaces like Cardano, AION, ICON, and so on.

Nevertheless, the software is certainly interesting and they seem to have a very passionate and dedicated team behind them. Let’s hope that all of their solutions are put in place. Scalability and interoperability issues need to be addressed in order to speed up market acceptance. Perhaps Cosmos Blockchain is going to pave the way.