Layer2 Sorter Full Analysis: Principles, Current Status, and Decentralization Trends

robot
Abstract generation in progress

Exploring Layer 2 Sequencers: Principles, Current Status, and Development Trends

The main source of income for Layer2 is the Gas fees paid by users during transactions. After deducting the costs of submitting data to Layer1, the remaining portion is basically pure profit. Data shows that in the second half of 2023, OP Mainnet's profit was approximately $5.23 million, Arbitrum's annual profit was $16.5 million, and zkSync Era's profit from March to December reached $22.24 million.

The substantial profits behind this are closely related to the sequencer operating in Layer 2. So, what is a sequencer? How does it work in Layer 2? What challenges do centralized sequencers face? How will it develop in the future? This article will delve into these questions.

How the Sorter Works

The sorter is a key role in Layer 2, primarily responsible for receiving user transactions and executing them, then submitting the sorted and compressed batch to Layer 1.

The sorter can be compared to a bus driver. Users do not need to drive into the city themselves ( Ethereum ); they only need to pay a small fee, and the driver will take everyone to their destination. In order to maximize the use of space inside the bus, the driver will try to fill it with as many passengers as possible and rearrange the passengers.

The principle, current status, and future of the Sequencer

Who can run the sorter?

Common solutions include:

  1. Centralized Sorter: Operated by the Layer2 team, high efficiency and low cost.

  2. Permissionless Sorter: Anyone can participate, but it may lead to resource waste.

The principle, current status, and future of the Sequencer

What is the sorting criteria?

There are usually two ways:

  1. First come, first served

  2. Sort by Gas Fee

Mainstream Layer 2s mostly adopt the first method, but in reality, the sorter can decide the sorting method by itself.

How to Prevent Malicious Behavior by Sorters?

Different Layer 2 solutions adopt different constraint methods:

  • Optimistic Rollup uses fraud proof
  • ZK Rollup adopts validity proof

The principle, current status, and future of the Sequencer

The Problem of Centralized Sorters

Currently, mainstream Layer 2 solutions often use centralized sequencers, which, although efficient, also raise some concerns:

  1. Weak censorship resistance
  2. There is a risk of single point of failure
  3. Possible improper acquisition of MEV profits

The principle, current situation, and future of the Sequencer

The Future of Decentralized Sorters

Mainstream Layer 2 has proposed decentralized sequencer solutions, including:

  1. Geographical Decentralization
  2. Sorter Auction
  3. Leader Election
  4. Based Rollup

The principle, current status, and future of the Sequencer

Shared Sorter

Refers to multiple Layer 2 solutions sharing a third-party sequencer network, which is beneficial for cross-chain interaction and preventing MEV, among other things. Currently, there are several projects building shared sequencer networks.

The principle, current status, and future of the Sequencer

Summary and Reflection

Whether decentralized orderers can perfectly solve existing problems remains to be seen. The MEV issue has become quite serious on Ethereum; will Layer 2 face similar challenges after decentralization? Will shared orderers trigger new centralization issues? These are all worth further consideration.

Decentralization of blockchain is a long-term process. I believe that through continuous exploration in the future, the problems faced by sorters will eventually be reasonably resolved.

View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 5
  • Share
Comment
0/400
LiquidationAlertvip
· 07-24 15:33
Centralized killing is invisible, and there's no escape anywhere.
View OriginalReply0
GasFeeNightmarevip
· 07-23 12:51
The terminology for Layer 2 is quite difficult to understand, alright?
View OriginalReply0
MetaverseMigrantvip
· 07-23 12:49
The shared sorter is worth looking forward to.
View OriginalReply0
SnapshotStrikervip
· 07-23 12:33
Are sorters really this complicated? To be honest, I can't bear to do a Rug Pull.
View OriginalReply0
Degentlemanvip
· 07-23 12:22
Still munching on layer2 every day?
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)