🎉 [Gate 30 Million Milestone] Share Your Gate Moment & Win Exclusive Gifts!
Gate has surpassed 30M users worldwide — not just a number, but a journey we've built together.
Remember the thrill of opening your first account, or the Gate merch that’s been part of your daily life?
📸 Join the #MyGateMoment# campaign!
Share your story on Gate Square, and embrace the next 30 million together!
✅ How to Participate:
1️⃣ Post a photo or video with Gate elements
2️⃣ Add #MyGateMoment# and share your story, wishes, or thoughts
3️⃣ Share your post on Twitter (X) — top 10 views will get extra rewards!
👉
Off-chain Scaling Panorama: In-depth Analysis of State Channels, Sidechains, Plasma, and Rollups Depth
off-chain Scalability Depth Analysis
Authors: Ellaine Xu, Hettie Jiang, June Wang, Walon Lin, Yiliu Lin
1. The Necessity of Scalability
The future vision of blockchain is decentralization, security, and scalability, but usually only two of these can be achieved, which is known as the impossible triangle problem of blockchain. For many years, people have been exploring how to increase the throughput and transaction speed of blockchain while ensuring decentralization and security, that is, to solve the scalability issue.
Let us first define the decentralization, security, and scalability of blockchain:
The first major hard fork of the Bitcoin network originated from scalability issues. Since 2015, there has been a division in the Bitcoin community regarding scalability, with one side supporting larger blocks and the other side advocating for the Segregated Witness solution. On August 1, 2017, the side supporting larger blocks began running a new client system, resulting in the first major hard fork in Bitcoin's history, which gave rise to the new cryptocurrency BCH.
The Ethereum network also chose to sacrifice some scalability to ensure the security and decentralization of the network. From the CryptoKitties of 2017 to the rise of DeFi, GameFi, and NFTs, the market's demand for throughput has been constantly increasing, but Ethereum can only process 15-45 transactions per second, leading to increased transaction costs and longer settlement times. The ideal scaling solution is to maximize the transaction speed and throughput of the blockchain network without sacrificing decentralization and security.
2. Types of Scalability Solutions
We classify the scaling solutions into two main categories: on-chain scaling and off-chain scaling based on the criterion of "whether to change a layer of the mainnet."
2.1 on-chain scalability
Core concept: a solution to achieve scalability by changing a layer of the mainnet protocol, with the current main solution being sharding.
There are various solutions for on-chain scaling, and the following briefly lists two of them:
Changing a layer of the mainnet protocol may have unpredictable negative effects, as any security vulnerabilities at the underlying level could severely threaten the overall security of the network.
2.2 off-chain scaling
Core concept: a scaling solution that does not change the existing Layer 1 mainnet protocol.
The off-chain scalability solutions can be further divided into Layer 2 and other solutions:
3. Off-chain Scaling Solutions
3.1 State Channels
3.1.1 Overview
State channels stipulate that users need to interact with the mainnet only when the channel is opened, closed, or when disputes are resolved, allowing interactions between users to take place off-chain to reduce transaction costs and achieve unlimited transaction frequency.
State channels are simple P2P protocols suitable for turn-based applications, such as two-player chess games. Each channel is managed by a multi-signature smart contract running on the mainnet, which controls the assets deposited in the channel, verifies state updates, and arbitrates disputes between participants.
3.1.2 Timeline
3.1.3 Technical Principles
Workflow of State Channels:
Workflow in a pessimistic scenario:
If Bob does not respond to Alice's state update signature, Alice can challenge by submitting her last valid state to the contract. Bob can submit the next state in response within a certain period; if he does not respond, the contract will automatically close the channel and return the funds to Alice.
3.1.4 Advantages and Disadvantages
Advantages:
Disadvantages:
3.1.5 Application
Bitcoin Lightning Network:
Ethereum Lightning Network:
Celer Network:
3.2 Sidechains
3.2.1 Overview
Sidechains are a form of blockchain that emerged to accelerate Bitcoin transactions and can utilize more complex contracts or improve consensus mechanisms. The transaction results of sidechains will ultimately be recorded on the validator's end and transmitted back to the main chain.
3.2.2 Timeline
3.2.3 Technical Principles
There are mainly two ways for sidechains to communicate with the main chain:
Bidirectional Anchoring ( Symmetric Pegged ): Validators on the main chain and side chain record each other's current state in real-time, using SPV technology to verify transactions.
Incoherent anchoring ( Asymmetric Pegged ): Sidechain validators monitor mainchain activities, but the mainnet cannot confirm the state of the sidechain, requiring the introduction of a Certifiers mechanism to validate sidechain transactions.
More and more sidechains are currently choosing to use third-party notaries ( PoA ) mechanisms or Relayers middleware to confirm the main chain block status.
Summary of sidechain mechanism:
3.2.4 Advantages and Disadvantages
Advantages:
Disadvantages:
3.2.5 Application
xDai Chain( now Gnosis Chain):
Polygon:
Ronin:
3.3 Plasma
3.3.1 Overview
Plasma is a framework for building scalable Dapps, designed to minimize user trust in off-chain Operators. The basic principle of Plasma is that even if the Plasma chain experiences a security failure, all users' assets can still be withdrawn from the Plasma chain and returned to the mainnet.
3.3.2 Timeline
3.3.3 Technical Principles
The core idea of Plasma:
Usage process:
3.3.4 Advantages and Disadvantages
Advantages:
Disadvantages:
3.3.5 Application
Main applications:
Summary: Plasma is a technical transition solution, constrained by issues inherent to the technology itself, and most applications have quickly shifted towards the development of Rollups-based solutions.
3.4 Rollups
3.4.1 Overview
The core idea of Rollups is to place the computation process and state storage off-chain, while storing state commitments and compressed transaction data on the main chain.
Rollups are divided into two types:
3.4.2 Technical Principles
Core Mechanism: