Layer 2, cross-chain and public chain triad, who will realize the scalable dream of blockchain?

Inventory block chain these years of development, from the initial Bitcoin , Ethernet Square to cross-link, DeFi, then NFT and meta-universe, etc., in the emerging new things this year, more and more enterprises, and other users also Participating one after another, the wave of the blockchain has not been flattened out one after another.

However, with the growth of the ecology and application of the blockchain, there are more and more operations on the chain, which makes the congestion evolved from the initial “small problem” to the “big pain point”, which hinders the development of the blockchain.

As mentioned in our previous article, if blockchain is to be used to build a value delivery network, some people believe that its performance should at least target the current real-time data processing speed of the entire Internet information , including 2 million emails per second, 65,000 Google searches, 72,000 YouTube videos, etc.

But at present, Bitcoin can process about 7 transactions per second, and Ethereum can process about 15 transactions per second. Solana, which is known as the Nasdaq speed, has a TPS of only 56,000 per second. The excess transactions can only be in order. Waiting in line.

Therefore, in order to solve this problem, various methods have been considered, such as the development of more and more new public chains, the transfer of operations to Layer 2 under the chain, and the efforts to realize the cross-interoperability and interconnection of many chains. chain.

So, Layer 2, public chain, and cross-chain are three pillars. Who will realize the scalable dream of blockchain? Let’s sort them out separately.

Layer2

Layer2 is also called off-chain expansion, which corresponds to Layer1 (on-chain expansion). On-chain expansion is to directly modify the block size, consensus mechanism, etc. on the blockchain, which is similar to widening the road from beginning to end when the road is congested. It affects the whole body and takes time and effort.

Therefore, since 2018, more and more off-chain expansion plans have emerged, namely Layer 2 expansion plans, which are similar to building viaducts on congested roads to relieve congestion.

Since Ethereum currently has the richest ecology and the highest security, it has become the core position for Layer 2 expansion. For example, Polygon, which has reduced the transaction speed to a few seconds, is Layer 2 on Ethereum, which has achieved the performance expansion of the main network.

However, in addition to expanding performance, Layer 2 can transfer more and more complex requirements to off-chain, so that some functions that cannot be implemented on the mainnet can be expanded off-chain. For example, a public chain like Bitcoin, which has almost no smart contracts, can realize the functional expansion requirements of smart contracts like Ethereum after the Layer 2 technology matures.

At present, Ethereum’s Layer 2 expansion plan mainly includes 5 kinds of side chain, Rollup, channel, Plasma, and Validium. Let’s briefly introduce:

1. Side
chain The side chain is an independent blockchain that runs parallel to and independently of the main network. It uses a separate consensus mechanism, and its security is not protected by Layer 1.

2. Rollups
Rollup is to roll up multiple transactions and upload them to Layer1. Transaction data etc. are released on Layer1, but the execution of transactions is outside of Layer1. There are currently two types of Rollups:

  • ZK Rollups, the full name of Zero Knowledge Rollups, bundles hundreds of transactions off-chain and generates an encrypted certificate, which will be submitted and published on Layer 1 .This means that ZK Rollups only needs proof of validity, not all transaction data. With ZK Rollup, validating blocks will become faster and cheaper because there is less data to be packaged.
  • Optimistic Rollups, optimistically assumes that all transactions are valid and all data is stored on the Layer1 chain. Therefore, Optimistic Rollups are safe and decentralized, but transaction confirmation on the main chain is affected by the challenge period as a fraud prevention mechanism. , It takes a long waiting time for transaction confirmation .Since Optimistic Rollups runs parallel to the Ethereum main chain and is compatible with EVM and Solidity , everything that can be done on Ethereum Layer 1 can be done on Optimistic Rollups, which is also different from ZK Rollup.

3. Channels

Channel means that even if participants conduct N off-chain transactions, they only need to submit two transactions on the chain, achieving extremely high transaction throughput.

However, participants need to lock an ETH deposit in a multi-signature contract (a type of smart contract that requires multiple private key signatures to execute a transaction).

Participants can perform off-chain transactions after being locked, and after the final on-chain transaction is submitted, the previously locked deposits can be unlocked.

4、Plasma

The Plasma chain is an independent blockchain, anchored to the main Ethereum chain, and uses fraud proofs (similar to Optimistic Rollups) to arbitrate disputes. But it can only support basic Token transfer, exchange, etc.

5、Validium

Validium uses proof of validity like ZK-Rollops, but the data is not stored on the Ethereum Layer 1 main chain, but Layer 2 transaction data is stored off-chain.

This means that each Validum chain can process 10k transactions per second, and multiple Validum chains can run in parallel.

Although there are not many Layer 2 solutions at present, for the entire expansion dream, the mechanisms of these solutions are intricate, and their advantages cannot be combined, their disadvantages are also different, and it is difficult to achieve compatibility. This is undoubtedly a big problem.

However, data shows that as of October 23, the total amount of Ethereum Layer 2 locked up is close to 4 billion U.S. dollars, and Arbtirum, dYdX , and Optimism are among the top three. Among them, the fastest increase in lock-up volume in the past seven days is AZTEC, a privacy and expansion solution based on ZK Rollup. It can be seen that the expansion plan based on ZK Rollup is favored by many people.

Cross-chain

Layer 2, cross-chain and public chain triad, who will realize the scalable dream of blockchain?

As mentioned earlier, most of the ecology and applications are currently on Ethereum, so many Layer 2 solutions are also based on Ethereum. However, in recent years, many public chains and new public chains have been developed. Although the performance has been improved, no chain can accommodate all ecological applications on its own.

Therefore, although more and more public chains are set up more and more perfect, they have become “information islands” and isolated from each other. If these chains can be interconnected with each other, not only the expansion on the chain is more ideal, and it will greatly promote the development of the entire blockchain.

In order to realize asset circulation, information exchange, and application collaboration between different blockchain platforms, cross-chain technology was officially born for this purpose. For example, Twitter recently supported the “Bitcoin payment” reward function application of the Lightning Network, which is an application of cross-chain technology, which improves the transaction speed and practicality of the Bitcoin network.

The current cross-chain technology mainly has the following implementation modes:

1. Notary Public Mechanism

The notary mechanism is the simplest method for chain-to-chain interaction. A credible organization will prove the interaction between the two chains. It is similar to finding a respected township chief to prove the cooperation between the two villages.

2. Side chain/relay

Refers to transactions through side chains or relay chains, using a multi-centralized way to solve the trust problem. It is similar to inserting more power strips into the socket.

3. Hash lock

The smart contract is used to ensure that the transfer between any two people can be achieved through a “payment” channel, completing the role of “intermediary”, similar to a robot, and the more representative project is the Lightning Network, which has made significant progress in the near future.

4. Distributed private key control

Distributed private key control is based on a multi-party calculation and a shared technology of threshold keys in cryptography, which is a relatively new cross-chain method.

Divide the private key into A and distribute it to A participants at the same time. Only when N (N is less than or equal to A) private key distributions are collected, a complete private key can be recovered and the assets in the private key can be recovered. Unlock it. It introduces the concept of locking and unlocking. Through such a locking and unlocking operation, the Tokens on the original chain can be managed.

Among the many cross-chain projects, Polkadot and Cosmos are technical hotspots with high attention at this stage. In particular, Polkadot has entered the much-anticipated parachain deployment and slot auction stage this year, which has attracted a lot of attention.

On December 8th last year, Polkadot founder Gavin Wood announced the relevant progress of Polkadot, as follows:

1. Launch Rococo v1 (test network) and wait for its stable operation;
2. Launch Kusama’s system (public interest)
parachain ; 3. Start the auction on Kusama;
4. Launch the parachain that successfully bids on Kusama;
5. after the completion of the audit, the line Polkadot public interest nature of parallel chains;
6, the opening auction Polkadot;
. 7, successful bid on the line parallel Polkadot chain.

At present, the KSM testnet has completed the auction, and the competition is very fierce. Polkadot will also open the official auction in mid-November. We will continue to pay attention to what changes will be made for the expansion at that time.

Public chain

Although the dream of expansion has always been based on the two ways of moving from the chain to the chain, or enabling the interconnection of many chains, it would be great if there is a public chain that can complete all operations to the maximum and easily.

However, looking at the development of this year’s public chain, many people say that 2021 may be the first year of the public chain’s outbreak. Then let’s take a look at the current public chain situation.

Bitcoin: As a “digital gold”, Bitcoin’s public chain function seems to be constantly weakening, and it tends to represent more of a store of value.

Ethereum : With the explosive growth of NFT and DeFi last year and this year, the performance of Ethereum has been difficult to carry a large amount of market demand. The entire ETH2.0 plan is divided into four stages: Stage 0: Beacon chain; Stage 1: Sharding ; Stage 2: Smart contract; Stage 3: Off- chain state storage; Stage 4: Sharding contract.

However, according to the Ethereum roadmap, the progress of Ethereum 2.0 has been repeatedly postponed after the “London” upgrade. The initial plan will be completed in the first quarter of 2022 at the earliest. According to the current delay of its team, it may be even later. Some.

Therefore, there is no obvious improvement for users. It seems that the transition phase is based on various Layer 2 solutions based on Ethereum. Due to the different implementation mechanisms, it is difficult to achieve compatibility. almost impossible.

BSC: September is one year from the BSC mainnet launch. In this year, BSC has won nearly 11% of the asset lock-up share in the DeFi market, which can be described as fast and fast. However, the several application security incidents that have occurred on the chain are also lingering fears.

Solona: In the past six months, public chains have blossomed . From Solana, known as the killer of Ethereum, to the avalanche Avalanche, whose lock-up volume has repeatedly hit record highs, they have performed well.

However, there are frequent problems. For example, Solona was unable to provide normal services on September 14th. The staff tweeted that it was due to exhaustion of network resources and a DOS attack. Many people said on Twitter that it had been sold. Take all the SOL and return to ETH.

The development of many “new public chains” is still at an early stage, and there does not seem to be a “perfect public chain”, and even more hopes are still pinned on Ethereum.

summary

Judging from the current development, the development of Layer 2 solutions has fallen into anxieties and is difficult to be compatible. The development of cross-chain has made little progress but seems to be tepid. Among the many public chains, Ethereum still seems to be a “livable” one. land.

With the emergence of more and more public chains, as well as the gradual growth of applications and ecological development, based on the current development situation, I think the cross-chain vision seems to be more in line with long-term development, and it is more likely to achieve greater limits in a short time. Extension. How is the next progress, let us wait and see!

Posted by:CoinYuppie,Reprinted with attribution to:https://coinyuppie.com/layer-2-cross-chain-and-public-chain-triad-who-will-realize-the-scalable-dream-of-blockchain/
Coinyuppie is an open information publishing platform, all information provided is not related to the views and positions of coinyuppie, and does not constitute any investment and financial advice. Users are expected to carefully screen and prevent risks.

Leave a Reply