search
Homeweb3.0What is Layer2?

What is Layer2?

Mar 06, 2024 pm 02:22 PM
BlockchainEthereumlayer2Bitcoinblockchain

According to data from Dune Analytics, as of the end of 2022, the average daily number of transactions on the Ethereum main chain has exceeded 1.7 million, and the average daily number of transactions for Layer2 solutions has also continued to increase, even surpassing Ethereum. This means that Layer2 has achieved huge transaction volume in just a few years and has become a part that cannot be ignored in the Ethereum ecosystem.

It can be seen that Ethereum Layer 2 has strong development momentum, but what is Layer 2? What exactly does it do? Lets come look.

01
What is Layer2?

Blockchain has a famous "triple problem", that is, the development of a blockchain is difficult to take into account security, decentralization and scalability.

What is Layer2?

Take Ethereum as an example. Although it has done well enough in terms of decentralization and security, as users become more and more However, its slow transaction speed, high transaction fees, and deterioration of user experience have always been problems that need to be solved. Therefore, improving the scalability of Ethereum has gradually become the focus of the industry.

Generally speaking, if a road is overcrowded, there are usually two methods to choose. One is to expand the road itself to improve vehicle circulation; the other is to build a viaduct when the road itself is difficult to expand. , increase liquidity.

Correspondingly, there are two ways to improve the scalability of the public chain: one is to expand the main network itself (layer 1), and the other is to put some work on layer 2 to Achieve network expansion. Specifically:

First, if the main network itself is expanded, it is called an on-chain expansion solution, that is, the Layer 1 solution. The expansion is mainly achieved by increasing the transaction capacity of the blockchain itself;

The second is Ethereum Layer 2 expansion, which refers to the second-layer network outside the Ethereum main network and is a type of Ethereum expansion plan. It is equivalent to establishing a "viaduct" on the Ethereum main network to solve the problems of congestion on the Ethereum main network and high transaction fees.

However, it is difficult to achieve the expansion in one step in the Layer 1 solution chain. After finally achieving the expansion, application scenarios with higher performance requirements have appeared again. We need to constantly surpass ourselves, and the demand development is endless.

Therefore, many Layer2 solutions have emerged, but each solution is not exhaustive and has its own advantages and disadvantages.

Another point worthy of attention is that in theory, all public chains can build Layer 2 expansion plans, but according to the current development situation, except for Ethereum, the mainnets of other public chains can basically Carrying the current development needs, Layer 2 is not an urgent need for these public chains, nor is it the main focus of the market. So the Layer2 currently mentioned by everyone usually defaults to Ethereum Layer2.



02
Classification of Layer2

The current solution of Ethereum Layer2 Which ones are there?

Since 2017, when Ethereum first caused network congestion due to CryptoKitties, people have begun to explore Layer 2.

After several years of development, many solutions have been proposed for Layer 2 expansion. In the early days of Ethereum’s development, Ethereum’s founder Vitalik Vitalik believed that sidechain, Validium, and Plasma technologies were the solution to blockchain expansion. The best solution to the problem. However, time and practice have proven that in the context of the explosion of DeFi, Layer 2 expansion solutions such as side chains, state channels, and Plasma cannot meet the requirements of the market.As of now, Rollup has become the most promising solution. .

Rollup is mainly divided into two types: Optimistic Rollup and ZK Rollup, and in the current market performance, users are relatively supportive of these two solutions. For example, the recently popular Atrbitrum uses Optimistic Rollup.

The main working principle of Rollups is to calculate a large number of transactions off-chain, then package them into a batch transaction, and then transmit it back to Ethereum.

Due to the current development advantages of Rollups, the industry now basically defaults that when we discuss Ethereum Layer 2, we are actually discussing Rollups.


03
Summary

The development of Layer 2 has gone through many years, from the initial proposal to the explosion in the mid-term, and now it is clear that the modular development route will be combined with Rollup. It not only benefits from Ethereum’s huge ecology, but also promotes Ethereum. The ecology further develops and grows.

The above is the detailed content of What is Layer2?. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:知乎. If there is any infringement, please contact admin@php.cn delete
Bitcoin Dominance Ratio Falls Below 50% as Altcoin Season May Have Already BegunBitcoin Dominance Ratio Falls Below 50% as Altcoin Season May Have Already BegunApr 13, 2025 am 10:52 AM

According to Binance, new altcoins are seeing shifting patterns in volume distribution, providing early evidence that the altcoin market is gaining momentum relative to Bitcoin's dominance.

Affyn (FYN) Faces Growing Uncertainty as Delays Mount and Investor Confidence WanesAffyn (FYN) Faces Growing Uncertainty as Delays Mount and Investor Confidence WanesApr 13, 2025 am 10:50 AM

Singapore-based Web3 gaming project Affyn is facing growing uncertainty as delays mount and investor confidence declines. Once considered a breakout contender

Nightfall: A Privacy-Enhancing Protocol for Ethereum BlockchainsNightfall: A Privacy-Enhancing Protocol for Ethereum BlockchainsApr 13, 2025 am 10:48 AM

In the rapidly evolving world of blockchain technology, EY's Nightfall protocol has emerged as a significant development.

Solana, Avalanche and Hedera Outperform Bitcoin as Ethereum (ETH) Suffers Weekly LossSolana, Avalanche and Hedera Outperform Bitcoin as Ethereum (ETH) Suffers Weekly LossApr 13, 2025 am 10:44 AM

The cryptocurrency market experienced a volatile week, influenced by global economic factors like trade war concerns and the pause on the U.S. tariff policy.

Tether Mints $1B $USDT Tokens on Tron Network, Indicating Likely Liquidity ExpansionTether Mints $1B $USDT Tokens on Tron Network, Indicating Likely Liquidity ExpansionApr 13, 2025 am 10:42 AM

Tether, the top stablecoin issuer, has recently minted more $USDT tokens on the Tron network. As per the data from Onchain Lens, Tether has minted nearly $1 billion $USDT on Tron

As Crypto Investors Look Beyond the Headlines and Hype CyclesAs Crypto Investors Look Beyond the Headlines and Hype CyclesApr 13, 2025 am 10:40 AM

One project steadily gaining recognition in the crowd of rising contenders is Mutuum Finance (MUTM). Still available for just $0.025

Dogecoin (DOGE) Core Update Rolls Out New Features Including Secure Enclave Integration and Performance ImprovementsDogecoin (DOGE) Core Update Rolls Out New Features Including Secure Enclave Integration and Performance ImprovementsApr 13, 2025 am 10:38 AM

This upgrade, which was announced through the Dogecoin Developers' official channels on X and detailed on GitHub, introduces several new features to the Dogecoin blockchain

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools