What is Layer2?
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.

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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



OKX is a global digital asset trading platform. Its main functions include: 1. Buying and selling digital assets (spot trading), 2. Trading between digital assets, 3. Providing market conditions and data, 4. Providing diversified trading products (such as derivatives), 5. Providing asset value-added services, 6. Convenient asset management.

Digital currency rolling positions is an investment strategy that uses lending to amplify trading leverage to increase returns. This article explains the digital currency rolling process in detail, including key steps such as selecting trading platforms that support rolling (such as Binance, OKEx, gate.io, Huobi, Bybit, etc.), opening a leverage account, setting a leverage multiple, borrowing funds for trading, and real-time monitoring of the market and adjusting positions or adding margin to avoid liquidation. However, rolling position trading is extremely risky, and investors need to operate with caution and formulate complete risk management strategies. To learn more about digital currency rolling tips, please continue reading.

The handling fees of the Gate.io trading platform vary according to factors such as transaction type, transaction pair, and user VIP level. The default fee rate for spot trading is 0.15% (VIP0 level, Maker and Taker), but the VIP level will be adjusted based on the user's 30-day trading volume and GT position. The higher the level, the lower the fee rate will be. It supports GT platform coin deduction, and you can enjoy a minimum discount of 55% off. The default rate for contract transactions is Maker 0.02%, Taker 0.05% (VIP0 level), which is also affected by VIP level, and different contract types and leverages

This article introduces in detail the registration, use and cancellation procedures of Ouyi OKEx account. To register, you need to download the APP, enter your mobile phone number or email address to register, and complete real-name authentication. The usage covers the operation steps such as login, recharge and withdrawal, transaction and security settings. To cancel an account, you need to contact Ouyi OKEx customer service, provide necessary information and wait for processing, and finally obtain the account cancellation confirmation. Through this article, users can easily master the complete life cycle management of Ouyi OKEx account and conduct digital asset transactions safely and conveniently.

This article provides a complete guide to login and registration on Binance PC version. First, we explained in detail the steps for logging in Binance PC version: search for "Binance Official Website" in the browser, click the login button, enter the email and password (enable 2FA to enter the verification code) to log in. Secondly, the article explains the registration process: click the "Register" button, fill in the email address, set a strong password, and verify the email address to complete the registration. Finally, the article also emphasizes account security, reminding users to pay attention to the official domain name, network environment, and regularly updating passwords to ensure account security and better use of various functions provided by Binance PC version, such as viewing market conditions, conducting transactions and managing assets.

This article recommends ten well-known virtual currency-related APP recommendation websites, including Binance Academy, OKX Learn, CoinGecko, CryptoSlate, CoinDesk, Investopedia, CoinMarketCap, Huobi University, Coinbase Learn and CryptoCompare. These websites not only provide information such as virtual currency market data, price trend analysis, etc., but also provide rich learning resources, including basic blockchain knowledge, trading strategies, and tutorials and reviews of various trading platform APPs, helping users better understand and make use of them

It ranks among the top in the world, supports all categories of transactions such as spot, contracts, and Web3 wallets. It has high security and low handling fees. A comprehensive trading platform with a long history, known for its compliance and high liquidity, supports multilingual services. The industry leader covers currency trading, leverage, options, etc., with strong liquidity and supports BNB deduction fees.

This article lists the top ten well-known Web3 trading platforms, including Binance, OKX, Gate.io, Kraken, Bybit, Coinbase, KuCoin, Bitget, Gemini and Bitstamp. The article compares the characteristics of each platform in detail, such as the number of currencies, trading types (spot, futures, options, NFT, etc.), handling fees, security, compliance, user groups, etc., aiming to help investors choose the most suitable trading platform. Whether it is high-frequency traders, contract trading enthusiasts, or investors who focus on compliance and security, they can find reference information from it.