Understand how Layer 2 solves the "impossible triangle" problem of the blockchain in one article?
Produced | Vernacular Blockchain (ID: hellobtc)
Produced | Vernacular Blockchain (ID: hellobtc)
There is a "impossible triangle"Problems, namely security, scalability, decentralization, can only be sacrificed to achieve the other two.
In order to "solve" this impossible triangle problem, many solutions have emerged, one of which is Layer 2 (two-layer network). Today, we will briefly introducefirst level title。
01
How does Layer 2 work?
Layer 2 technologies are often referred to as "off-chain" solutions, the main purpose of which is toScale the performance of blockchains while retaining the decentralization benefits of distributed protocols.
In order to build a good blockchain ecosystem, we need to do something in the architecture to balance the needs of security, decentralization and scalability.
The Layer 2 platform and protocol process data in a way that reduces the burden on the base layer (root chain), and enhances the scalability of the entire blockchain network by transferring part of the data processing of the main chain to Layer 2.
smart contractsmart contract, these protocols interact with offline activities.
Layer 2 massively reduces data processing on the blockchain by running computations off-chain,first level title
02
lightning network
“lightning network" is a "layer two" payment protocol that operates on top of Bitcoin, enabling fast transactions between participating nodes.The idea behind it is this: not every transaction has to be on-chain.
Thus, the Lightning Network adds another layer to the Bitcoin blockchain and enables payment channels to be established between any two clients on that additional layer. Transactions in these channels are instant and fees will be very low.
For more knowledge about the Lightning Network, you can refer to the previous tweet of the vernacular blockchain ""and""and"Is Lightning Network without Consensus Mechanism Guaranteed Really Safe?》。
Similar to the Bitcoin Lightning Network, in order to solve the scalability problem of Ethereum, people have proposed different solutions, including Casper, Plasma, and sharding. in,Plasma is to use the second layer of smart contracts on the main blockchain, relying on the underlying Ethereum blockchain to achieve its security.
Plasma allows chains within chains, which enables exponential growth in scalability. It creates "sub" blockchains that are attached to the "main" Ethereum blockchain, and these subchains can in turn generate their own subchains in turn, which can be repeated in turn.
first level title
03
What does Layer 2 mean for the development of the blockchain industry?
Blockchain is evolving into a multi-tiered system. Layer 2 can help us create a "usable" blockchain system and expand it to other industries.
Ethereum founder Vitalik Buterin did a calculation for us, he mentioned in AMA:
if we100x gain from shard, 100x from Plasma, both of which essentially provide a 10,000x scalability gain. This means that the blockchain will be powerful enough to handle most applications that people try to handle.


