What are we talking about when we talk about interoperability?

First, the introduction

Recently, many people have been discussing the launch of Cosmos and its threat to the Ethereum ecosystem. This article will delve into the technical details of Cosmos and Polkadot, but will also first cover a lot of basic knowledge (with images as an aid) so that you can understand the meaning of these technical agreements.

First, we need to know why interoperability is important. In the existing Internet system, we can obtain and correct large amounts of data through APIs (specific application interfaces). But with blockchain technology, the data on different chains is isolated. So what do we mean by cross-chain interaction?

1. Assets can be transferred between different blockchains without the need for third-party trust.

2. Cross-chain smart contracts that can interact with each other.

3. A specific blockchain architecture that can be used for other blockchains.

Before delving into the details of any particular cross-chain technology, I would like to take a moment to talk about the most basic distributed system so that everyone can understand the next concept more easily. You need to understand that blockchain technology is only a global group of machines, they can reach a consensus on the data to ensure its authenticity.

Distributed Systems

As the name suggests, distributed systems are a combination of computers that work to achieve a goal. The goal is to output the same content to a large number of users around the world (for example, your Twitter newsletter will always send you the latest news). In order to achieve this goal, they must overcome the following problems:

1. Timing. Each computer/system performs the same tasks at their own time and pace.

2. Order. Since time will “move” after a period of time, it is still very difficult to resolve the content and time of the event. This makes sorting a very complicated issue because each system has its own account with events and time.

3. Error rate. Collaboration between systems can fail because of the entire system, which can lead to errors in sending and receiving information between systems, or someone can choose to do evil (byzantine events).

For humans, the solution to the most problems is through good communication. However, this is more complicated by computers, because communication between computers is asynchronous or synchronous.

What does it mean?

  • Synchronization = Each system is assigned a certain amount of time to communicate, and they will be in order. Can associate the communication scene between people.
  • Asynchronous = Each system can communicate at any time without making assumptions about when they will communicate. We can associate us with chatting with Slack.

In summary, blockchain systems need to have security (synchronous output protocols) and activity (blockchains need to continue to grow and operate). If your blockchain is secure but no longer running, it will stop popping. If this blockchain is just running, but not safe, then there will be a lot of forks, and you can't know which one is the real one, unless there are rules of the rules (for example, Bitcoin's longest chain principle)!

Second, introduce the practical Byzantine fault tolerance mechanism (PBFT)

The practical Byzantine fault tolerance mechanism was proposed by Barbara Liskov and Miguel Castro in 1999. Blockchain systems such as Cosmos and Polkadot, which are proof of their rights, also cite a practical Byzantine fault-tolerant mechanism, so it's worth investigating what it is and how it works.

Cartography: Alex Darling Think Tank

1. If you want to form a block with transaction data, one party needs to hear a lot of data to broadcast on the network . We refer to such individuals as applicants because they want to produce this block.

2. Once the block is completed, everyone can participate and pre-vote to confirm that they have heard the same block broadcast. Very importantly, in the pre-voting stage, the block may also be incorrect/falsified because everyone just wants to reach a consensus and they have received the same data/block.

3. Once more than two-thirds of the participants reach a consensus and they receive the same block, they are in the pre-submission phase. The pre-submission vote will determine if this is a valid block and there is no fraud.

4. If more than 2/3 of the participants voted that the block is valid and correct, then we can successfully submit the block to the chain.

5. The block height will then increase and steps 1-5 will be repeated.

According to what we said above, we can see that the next steps can ensure that the order of the blocks is known (block success can increase the block height), each computer can get its own conclusion by calculation, and then The network communicates to get the final timing and can prevent failures (fraudulent nodes requesting blocks or nodes that cannot vote).

Hello Cosmos!

Cosmos was founded in 2016 by Jae Kwon and Ethan Buchman and raised more than $17 million through a pass. Cosmos Hub is its own blockchain system that can connect different blockchain systems, thus enabling cross-chain communication. Any blockchain system that demonstrates workload, such as Bitcoin, Ethereum, ZCash, or other specific blockchains, can be connected to the bridge area through an internal blockchain communication architecture.

In-depth study of the details of the technical organization, Cosmos Hub used Tendermint developed by Jae Kwon in 2014 as its consensus algorithm (and also practical Byzantine fault tolerance). This means that each voting session (before voting and before submission) has a fixed time for everyone before moving on to the next stage. When a block is completed, the process will not be returned. Because as long as the transfer in the block is completed, this means you can have instant mobile and IoT payments. This process is also known as "quick settlement" because there is no need to confirm.

Cartography: Alex Darling Think Tank

A user holding an ATOM certificate can become a certifier in the network or pledge the ATOM certificate to the certifier. The Cosmos blockchain network will initially have 100 verifiers and plans to improve the lineup through the governance factor in the future. Only those with the right in the network can participate in the security governance of the network.

In order to reduce the theoretical knowledge, I will list the steps from ETH to BTC, which is a case that everyone likes very much.

Cartography: Alex Darling Think Tank

1. A trusted intermediary area will be created on the Ethereum network, and then a corresponding verifier will be responsible for relaying information from the Ethereum Bridge area to the Cosmos Hub.

2. Since Ethereum and Bitcoin are both probabilistic (it is possible that the current backbone is not correct), the verifier needs to wait for a certain confirmation to ensure that the transfer is actually completed.

3. Once these certifiers have confirmed that the transaction is complete, they will initiate a transaction from their own region to receive Ether's Cosmos Hub, which will create a form of hybrid that combines Cosmos Ether and holds it. Now, any other Cosmos Zone will now know that this new hybrid Cosmos Ether pass exists in the system.

4. Assuming the exchange ratio is determined before, the mixed Cosmos Ether Pass can be exchanged with the mixed Cosmos Bitcoin. Cosmos Bitcoin is then sent to the trusted intermediary bitcoin area and sent to the actual bitcoin backbone address.

Cartography: Alex Darling Think Tank

In this model, there are several assumptions:

  • Cosmos Hub needs to ensure that mixed Cosmos assets are properly incremented and decremented. Although there may be a downward trend, the Cosmos team has designed the relevant system, and anyone can create their own hub. In the end, Cosmos will become a network of Hubs and Zones and will be operated by different teams.
  • Each zone needs to be trusted, and they relay the relevant information about sending/receiving assets. The sender also needs to believe that the verifier will relay their information correctly and will not steal their assets.

Into Boca

Boca was founded by Gavin Wood, co-founder and former CTO of Ethereum, and president of the Web3 Foundation. In 2017, Boca raised $145 million through crowdfunding through the sale of the original pass DOT. If Cosmos is a development network using hub and zone methods, Boca is a separate "relay chain" and will give a lot of blockchain systems added to it, namely "parallel chain s" (this is short for parallel chain) Provide a lot of benefits.

The main innovations of Boca are as follows:

  • Each parallel chain gets a security guarantee from the certifier mode of the trunk chain. Once any blockchain is connected to the Boca network through a parallel chain, it gains the same level of security as the entire Boca network. In the Cosmos system, each new chain requires its own verifier and needs to be secure.
  • Parallel chains can interact with other parallel chains using trust-paid internal blockchain communication. Users who want to conduct cross-border communication do not need to trust all the chains they pass information, but only the security of the entire wave card network. Moreover, this differs from how Cosmos works, where users need to trust the source blockchain, the routed blockchain, and the target blockchain through a separate verifier.

Boca's consensus mechanism consists of two parts: GRANDPA and BABE. GRANDPA is a tool for final determinism, a concept derived from the GHOST fork selection rules (similar to the Ethereum Casper protocol). The introduction of such a tool allows some of the blockchains to be finalized and proven to be unrecoverable. Separating the deterministic tools from the block production allows for final determinism and the creation of new blocks on the chain through different processes. This means that actual block production can be expanded and is different from the Cosmos Tendermint algorithm with a practical Byzantine fault tolerance mechanism.

Cartography: Alex Darling Think Tank

In the Boka ecosystem, the following sections are included:

  • Proofreader – Produces blocks for parallel chains and passes the information to the verifier for verification.
  • Nominator – allocate funds to the verifier and then participate in the equity mechanism.
  • Verifiers – require a high binding mechanism because they are responsible for sealing new blocks of the relay chain.

Their main responsibilities include:

Verify the new block.

  • Confirm the relay chain by participating in GRANDPA.
  • By ensuring that the correctness of the resulting transaction and the cross-chain information have been processed,
  • Parallel chain blocks can be verified.
  • Phishers – Bounty hunters looking for fraud by observing other nodes on the network.

Boca can be thought of as an interconnected system, as long as it wants to communicate with other blockchains through bridges, then you can connect directly to them. All parallel chains and relay chains form an overall versatile system. Parallel chains can be combined with custom logic to handle their own state transitions when receiving and distributing information to other chains. Parallel chains can also interact with each other, unlike Cosmos, where any information needs to pass through the Hub.

The core design concept of Boca technology is very good. The idea is based on the fact that parallel chains passively read information from bridge contracts, rather than relying on bridge contracts to pass information to other parallel chains, and there is no difference between these parallel chains. This means that Poca's internal blockchain communication architecture is completely de-trusted, because parallel chains are centered on the intermediate chain, not the parallel chain they are verifying. Also, the verifier will be scheduled to other parallel chains from time to time and randomly.

Let's take an example. This may be easier to understand. What do you need to do if you want to convert a currency in a parallel chain into an asset in another chain? Imagine the case of converting ETH into BTC.

Proofreaders in the parallel chain of Ethereum will transfer the head of the block to the verifier of their parallel chain. These certifiers will sign and publish this information in related transactions in the Ethereum Bridge Smart Contract, and this is the way to identify and communicate with the parallel chain area. Any ETH issued may be held by a Poca Certifier and may also be used as a collateral for an invalid transaction by using the DOT Pass. The Ethereum Parallel Chain communicates with the Bitcoin Parallel Chain and then transfers the BTC to the specified address by the certifier of the particular parallel chain. All the details of the design need to be finalized, but according to the theory of cross-chain communication, it can be guaranteed that there is no need to confirm at all.

We need to note that Poca's parallel chain mechanism distributes locations through an unrecognized chain auction. These auctions lock the DOT pass for a period of time, ensuring that these parallel chains are connected to the Boka network. At this time, governance can be accessed and can resolve unexpected situations, such as parallel chains with serious errors or fraud. Boca will do it through chain management because it believes that this is the best way.

As Gavin Wood said in the article, "I firmly believe that if any blockchain does not introduce chain governance mechanisms, including viable update mechanisms, then this will undoubtedly ruin themselves. I do not believe in the "chain governance process"," "Chain signaling" and "rough consensus mechanism" can make real holders in the blockchain ecosystem effectively master and promote their long-term success. I also believe that it is impossible to change the governance situation.

route map

Cartography: Alex Darling Think Tank

Regarding interoperability, many of these problems seem to have been resolved, but the implementation level is still difficult to achieve. Cosmos was officially launched in March 2019, but currently only the startup and operation of the Cosmos Hub has been completed. Their next plan is to complete the operation of the internal blockchain communication framework. Boca will run at the end of 2019, but only the relay chain will go online.

In general, I am very excited about the launch of Cosmos and Boca, and the most interesting is the developer's application and the competition between various blockchains, how they will run. Blockchains that meet specific application needs are very important at present, because not only the underlying architecture has not yet been completed, developers also need the resources and talent behind them, and get enough security.

So is this a trade-off? It's still hard to say now. Although Ethereum's development speed is lower than the roadmap's expectations because it wants to create a highly secure and unlicensed innovation mechanism, Ethereum's chain management has developed very well.

On the contrary, many crypto-asset networks use the security of other chains, such as Ethereum, and then wait until they can guarantee security through their own communities before transitioning to their own chain. MarkerDAO is a good example of the resources they have to build their own blockchain and become part of the parallel chain of Boca. If for some reason it cannot be called part of a parallel chain, it can build a bridge area on Cosmos and then share the security. Boca is planning to provide a bridge area for blockchain systems that do not provide shared security but still require information transfer.

Author: Kerman Kohli, 8x Protocol founder.

Translator: Alex

Do not redistribute without permission. To read the original text, please search for the public number: DalingRe-DR, follow the public number, click on the link at the bottom of this article.

We will continue to update Blocking; if you have any questions or suggestions, please contact us!

Share:

Was this article helpful?

93 out of 132 found this helpful

Discover more

Blockchain

Republican Presidential Debate: Crypto Policies and the Comedy Show

The recent Republican presidential debate covered important topics such as regulatory measures to safeguard the fashi...

Market

FTX Revival: A Crypto Phoenix Rising?

SEC Chair Hints at Potential FTX Return, Memeinator Presales Reach Stage 6

Bitcoin

The BTC Acquisition Frenzy: MicroStrategy Continues to Bet Big on Bitcoin 🚀

MicroStrategy is proudly maintaining its status as one of the leading corporate holders of Bitcoin (BTC), solidifying...

Market

Nine New Spot Bitcoin ETFs Accumulate $4 Billion in BTC

Nine new Bitcoin ETFs have successfully acquired a total of over 100,000 BTC, with a combined value of $4 billion in ...

Market

MetaMask Introduces Revolutionary Transaction Routing Feature for Smart Swaps

SMG, backed by ConsenSys, has developed cutting-edge routing technology that allows for intelligent swapping on the p...

Blockchain

Ireland Wins the Regulatory Race Coinbase Chooses It as Its EU Headquarters

Coinbase, a leading company in the cryptocurrency industry, is planning to expand into the EU and other global market...