Introduction To Cosmos Blockchain Network Part -2
In part 1 we described Tendermint Core development and In part 2 will describe the software supported to built Cosmos network (i.e Cosmos SDK and IBC ) and Cosmo Blockchain Design.
Cosmos SDK
"Cosmos SDK is a generalized framework that simplifies the process of building a secure blockchain application atop of Tendermint core"
Image Log Credit - Tendermint
The main principle of Cosmos SDK is Modularity, Cosmos SDK is an open source where a developer can create modules and spin as per their needs, One can build new blockchain with support of existing Cosmos SDK modules. Additionally, developers can create their own module for their application.
IBC - Inter blockchain Communication protocol
With the help of Tendermint core and Cosmos SDK, we can easily create a blockchain network. Now this IBC - Inter blockchain communication protocol is used to connect those blockchains together. This IBC connects all the zones and hubs in the network by exchanging the tokens between the heterogeneous chains.
How IBC Works
- Tracking
- Bonding
- Proof of relay
- Validation
Cosmos Blockchain Design
With the help of above applications, we can easily create a network of blockchain. We know that Cosmos architecture is made up of several independent blockchain networks called zones attached to the central blockchain network called Hub. When zones are connected to the hub with IBC then they can send and receive the token through all the blockchain network. The first hub launched in the Cosmos blockchain network is called Cosmos hub. This hub is public proof of stake blockchain. ATOM token is native staking token which transferred between the network and transaction fees will be paid with multiples of this ATOM token.Image Credit - Cosmos Network
With this above design we can interact with different Tendermint core blockchain network. You will have a question how this Cosmos can connect to non tendermint chains (i.e Connecting Cosmos network with Ethereum network or Bitcoin network )
Here is the two interesting cases which done this bridging with non Tendermint chains.
Fast Finality Chains
Blockchain that use any fast finality consensus algorithm can connect to the Cosmos network with help of IBC.
Example – If Ethereum switch to Casper FFG then it can easily connect to the Cosmos network using IBC.
Probabilistic Finality Chains
If the blockchain don’t have this fast finality algorithmi.(i.e proof of work chain) then Cosmos network will use some special kind of proxy chain called as peg zone, which act as a bridge between this two network. Peg- Zone is a blockchain that tracks the state of another blockchain network, Peg zone itself has a fast finality support so it can create a bridge between two non Tendermint network.
Step1 – Peg zone need to decide the finality threshold from the ethereum chain.( For example consider and set 100 blocks)
Step 2 – Create a Contract and deployed on the ethereum main network. When the user want to send tokens from ethereum to Cosmos, They will send through this contract, This contract is freeze after the 100th block and representation of this assets is released on the peg zone.
Similar mechanism is used to send the asset back to the ethereum blockchain network.
Currently Tendemint team is work on Peg zone implementation on the ethereum chain is called peggy.
Advantage of Cosmos Network
- It will Solve the Scalability Problem of the blockchain network
- Cosmos will make the development process of blockchain very easy and
powerful. - Cosmos enables the interlink between different blockchain network. It
can communicate with the help of the IBC protocol.
Here you can view the number of blocks created in the Cosmos network .
Posted from my blog with SteemPress : https://notesnewtech.com/2019/05/13/introduction-to-cosmo-blockchain-network-part-2/