How Decentr Integrates with Cosmos/Tendermint

Decentr
3 min readOct 1, 2020

--

This is part two in our explainer series on how the overall Decentr system works and how our tech stack operates in conjunction with our proprietary and third-party tech solutions.

Our previous article detailed Cerberus — our Decentr proprietary blockchain storage solution.

Today we will dig into the Decentr blockchain and how Cosmos has been implemented so multiple chains on Decentr can communicate with each other.

Decentr blockchain is partly implemented using a Cosmos SDK. Cosmos SDK is a modular framework for building interoperable, application-specific blockchains.

We are building specifically with Cosmos because it allows us to not only have several blockchains (one being for data storage others being for transfers etc) but have them seamlessly interact with each other.

As Cosmos themselves state:

The end goal is to create an Internet of Blockchains, a network of blockchains able to communicate with each other in a decentralized way.

This is exactly what we are trying to achieve with Decentr and, by using Cosmos, not only Decentr blockchain but other blockchains that we plan to connect to in the future, including Holochain, Tomochain etc can maintain sovereignty, process transactions quickly and communicate with each other within the ecosystem.

Specifically we are using Tendermint which acts as a consensus engine and a BFT consensus algorithm to build on top of Cosmos SDK.

To get into more details we have three layers — Networking, Consensus, Application.

Tendermint BFT is a solution that packages the networking and consensus layers of a blockchain into a generic engine, allowing developers to focus on application development as opposed to the complex underlying protocol. This way we use Tendermint in order not to get into too much complex and time consuming protocol development — especially because we use PoS and it is fairly common and can be customized easily. To clarify PoS : The application defines that validators are elected based on how many tokens they have at stake.

The Tendermint BFT engine is connected to the application by a socket protocol called the Application Blockchain Interface (ABCI). We are wrapping this protocol in GO language.

Another reason we chose Tendermint is because of its very high speed, especially since we will need this for our expected levels of transactions : Tendermint BFT can have a block time on the order of 1 second and handle up to thousands of transactions per second.

As an additional bonus feature for the future — IBC. We can use IBC to connect to any blockchains that are built using Cosmos / Tendermint (Such as Binance DEX or Sentinel ) and can move even closer to the concept of Web 3.0

We look forward to answering all your questions. Please find our official links below.

Official Links for Decentr:
Official Email Address: Admin@decentr.net
Official Website Link: https://decentr.net/
Official Telegram Discussion Group: https://t.me/DecentrNet
Official Telegram Announcements Channel: https://t.me/DecentrAnnouncements
Official Twitter: https://twitter.com/DecentrNet
Official Medium: https://medium.com/@DecentrNet

--

--