Home web3.0 Blockchain Scaling: Sidechains vs. Rollups

Blockchain Scaling: Sidechains vs. Rollups

Mar 06, 2024 pm 02:21 PM
Blockchain cryptocurrency Ethereum exchange blockchain Ethereum ​​​ Ethereum sidechain

The scalability of blockchain means that as more and more users adopt the service, it can easily cope with the growing user data computing needs.

When it comes to scalability, the discussion narrows down to two methods: sidechains and rollups, but these two methods are not either/or.

01

About side chain

1. What is side chain?

The side chain can be said to be a side chain that is compatible with the main chain. Usually transactions are processed off-chain, and if necessary, they are packaged and sent to the main chain. Sidechains are connected to the mainnet via a two-way bridge, but they operate as independent blockchains with their own consensus mechanisms. Therefore, the main network using PoW can cooperate with the side chain using PoS.

Blockchain Scaling: Sidechains vs. Rollups

2. How does sidechain work?

In order to support transactions between different chains, side chains need to maintain a two-way link with the main chain they are connected to.

For example, when a user sends assets on the Ethereum main chain to the Polygon side chain, the asset transfer does not actually occur. A two-way peg simply locks the transferred amount on the main chain and mints a mirrored version of the asset on the side chain. This is achieved through smart contracts that burn Tokens on the main chain and mint Tokens on the side chain. This is why Ethereum sent to Polygon is available as wETH (Wrapped Ethereum: Wrapped ETH, pegged 1:1 to ETH).

3. Is side chain safe?

As the name suggests, sidechains run in parallel with the underlying main chain rather than being built on top of the main chain, which means additional security risks need to be considered. For example, sidechains cannot take advantage of the security of the main chain, unlike Rollups, which we will discuss later. The security of the side chain needs to be solved by the side chain itself. Typically, the more popular a blockchain is, the more validator nodes it has and therefore the more secure the chain, although whether sidechains can become a security threat is debatable.

4.Does sidechain have a future?

Overall, sidechains have amazing scalability potential, and in addition to being great at relieving network congestion, they can act as bridges between different chains, bringing the entire cryptocurrency ecosystem together. This doesn’t mean they are the ultimate solution to the impossible triangle of blockchain (decentralization, scalability, and security), but they will certainly have a place in future developments.

02

About Rollups

1. What are Rollups?

Rollups is a Layer 2 extension solution built on the main chain. They roll multiple transactions together into a block, which is then packaged and sent back to the main chain for processing. This approach significantly reduces gas fees, as well as the time required to process transactions.

2.How do Rollups work?

If we think of a transaction on the blockchain as a simple piece of data, imagine what would happen if a single block of data contained 50 transactions? This is exactly how Rollups work, because they are able to package (roll up) thousands of transactions into a Rollup block, which means that Rollups will increase efficiency based on the main chain. Therefore, the higher the efficiency of the main chain, the higher the efficiency of aggregation.

Blockchain Scaling: Sidechains vs. Rollups

There are currently two different types of Rollups: Optimistic rollups and Zero-knowledge rollups.

The working principle of Optimistic rollups is that all transactions are valid by default. If no one raises objections and proves their error within the specified time, it will pass. Optimistic rollups can be sped up due to the validity of this assumption. To prevent fraudulent transactions, the Optimistic rollups protocol allows people to cast false doubt on transactions. Suspected fraudulent transactions are submitted directly on the Ethereum network to check whether they are legitimate and to resolve disputes.

Zero-knowledge rollups (aka zk-rollups) work by relying on a type of cryptography called zero-knowledge proofs, which allow someone to mathematically prove that a statement is true without No additional information is required to be disclosed regarding this statement.

zk-rollups works by bundling thousands of transactions on the main chain and giving cryptographic proofs, that is, by default all transactions must be suspected, and each transaction needs to have a corresponding validity proof. This is called a validity proof or Snark (succinct non-interactive knowledge argument). It is then published to the main chain for approval.

zk-rollups also have the advantage that transaction time is greatly shortened, and at the same time, they are less vulnerable to attacks than Optimistic rollups.

3.Does Rollups have a future?

In short, Rollups are a great scaling solution that leverages existing on-chain security, making it indispensable.

03

Summary

The relationship between sidechains and Rollups is not direct competition, but can coexist peacefully, because both solutions have their own advantages and Challenges to overcome.

The above is the detailed content of Blockchain Scaling: Sidechains vs. Rollups. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Which of the top ten currency trading platforms in the world are the latest version of the top ten currency trading platforms Which of the top ten currency trading platforms in the world are the latest version of the top ten currency trading platforms Apr 28, 2025 pm 08:09 PM

The top ten cryptocurrency trading platforms in the world include Binance, OKX, Gate.io, Coinbase, Kraken, Huobi Global, Bitfinex, Bittrex, KuCoin and Poloniex, all of which provide a variety of trading methods and powerful security measures.

What are the top ten virtual currency trading apps? The latest digital currency exchange rankings What are the top ten virtual currency trading apps? The latest digital currency exchange rankings Apr 28, 2025 pm 08:03 PM

The top ten digital currency exchanges such as Binance, OKX, gate.io have improved their systems, efficient diversified transactions and strict security measures.

What currency does Ripple (XRP currency) belong to? Detailed tutorial for beginners What currency does Ripple (XRP currency) belong to? Detailed tutorial for beginners Apr 28, 2025 pm 07:57 PM

Created by Ripple, Ripple is used for cross-border payments, which are fast and low-cost and suitable for small transaction payments. After registering a wallet and exchange, purchase and storage can be made.

Binance official website entrance Binance official latest entrance 2025 Binance official website entrance Binance official latest entrance 2025 Apr 28, 2025 pm 07:54 PM

Visit Binance official website and check HTTPS and green lock logos to avoid phishing websites, and official applications can also be accessed safely.

Which of the top ten currency trading platforms in the world are among the top ten currency trading platforms in 2025 Which of the top ten currency trading platforms in the world are among the top ten currency trading platforms in 2025 Apr 28, 2025 pm 08:12 PM

The top ten cryptocurrency exchanges in the world in 2025 include Binance, OKX, Gate.io, Coinbase, Kraken, Huobi, Bitfinex, KuCoin, Bittrex and Poloniex, all of which are known for their high trading volume and security.

What are the top currency trading platforms? The top 10 latest virtual currency exchanges What are the top currency trading platforms? The top 10 latest virtual currency exchanges Apr 28, 2025 pm 08:06 PM

Currently ranked among the top ten virtual currency exchanges: 1. Binance, 2. OKX, 3. Gate.io, 4. Coin library, 5. Siren, 6. Huobi Global Station, 7. Bybit, 8. Kucoin, 9. Bitcoin, 10. bit stamp.

Sesame Open Door Official Website Entrance Sesame Open Door Official Latest Entrance 2025 Sesame Open Door Official Website Entrance Sesame Open Door Official Latest Entrance 2025 Apr 28, 2025 pm 07:51 PM

Sesame Open Door is a platform that focuses on cryptocurrency trading. Users can obtain portals through official websites or social media to ensure that the authenticity of SSL certificates and website content is verified during access.

Is the digital currency app formal? Top 10 formal and legal virtual currency trading apps in the world Is the digital currency app formal? Top 10 formal and legal virtual currency trading apps in the world Apr 30, 2025 pm 07:09 PM

Recommended cryptocurrency trading platforms include: 1. Binance: the world's largest trading volume, supports 1,400 currencies, FCA and MAS certification. 2. OKX: Strong technical strength, supports 400 currencies, approved by the Hong Kong Securities Regulatory Commission. 3. Coinbase: The largest compliance platform in the United States, suitable for beginners, SEC and FinCEN supervision. 4. Kraken: a veteran European brand, ISO 27001 certified, holds a US MSB and UK FCA license. 5. Gate.io: The most complete currency (800), low transaction fees, and obtained a license from multiple countries. 6. Huobi Global: an old platform that provides a variety of services, and holds Japanese FSA and Hong Kong TCSP licenses. 7. KuCoin