What Are Ethereum Rollups? (2024)

nft

What Are Ethereum Rollups? (1)

Stephen Hatala / ONE37pm

Published Mar 9, 2022

4:00pm

Ethereum gas fees can get expensive, so expensive in fact, it can be difficult to even use the blockchain. Sometimes the fees to pay for a transaction are more expensive than the asset you’re creating or purchasing, and that just doesn’t seem right.

However, what if there was a way to reduce these fees and increase transaction efficiency? Well, now there is using rollups!

A rollup takes multiple Ethereum transactions and rolls them up into a single piece of data before submitting them all to the blockchain. This saves space, increases transaction speed, and reduces the cost to transact.

Before we get into the technicalities, let's talk about how the Ethereum blockchain works, and the different types of rollups.

What is a rollup?

Ethereum blocks are limited to the amount of data they can hold. For example, let's say a block can only do 100 transactions. This means that if 100,000 people want to do a transaction at the same time, Ethereum will pick 100 of the highest bidding fees first.

What Are Ethereum Rollups? (3)

Getty Images

Since gas fees are based on the current demand on the blockchain at a given moment, these fees can become very expensive. But, since a transaction can simply be a piece of data as well, what if you could include ten transactions in one piece of data.

You would essentially have scaled to 1,000 transactions per block as opposed to 100, simply by using the data portion instead of the transaction portion.

Rollups are layer 2 scaling solutions that perform transaction operations off the main Ethereum blockchain, but still, post the transaction data onto layer 1. Considering the transaction data is on layer 1, rollups are secured by the same layer 1 security measures. In fact, this is the defining feature that rollups offer to users.

Rollups are useful because they reduce gas fees, increase transaction throughput, and expand participation. One question you may have about rollups is how does Ethereum know that the posted data is valid and wasn’t submitted by someone who is trying to take advantage of the system?

Ultimately, it depends on the specific rollup implementation, but in general, each rollup deploys a set of smart contracts on Layer 1 that are responsible for processing deposits and withdrawals and verifying proofs. Lets take a look at the two types of rollups currently utilized on the Ethereum blockchain and how they work.

Optimistic Rollups (fraud-proofs)

Optimistic rollups assume transactions are valid by default and only runs computation via a fraud-proof, meaning it only presents evidence that a state transition was incorrect, in the act that someone decides to challenge the transaction.

What Are Ethereum Rollups? (4)

Getty Images

Optimistic rollups sit in parallel to the Ethereum Mainnet on layer 2 and don't perform any computation (mathematical equations) by default. Instead, after the transaction is complete, they submit the new state to the Ethereum Mainnet, essentially notarizing the transaction.

Optimistic rollup transactions are written into the main Ethereum blockchain, further optimizing transactions by reducing the cost of gas.

Advantages of optimistic rollups include:

  • Lower gas fees
  • Increased throughput
  • Smart contract capability
  • Security (guaranteed by the Ethereum Mainnet)

Disadvantages of optimistic rollups:

  • Long withdrawal time (challenge periods can last for weeks)
    • If a fraudulent transaction is discovered, the rollup will automatically call a fraud-proof and run the transaction’s computation using the available written data, leading to long withdrawal times if the transaction is challenged.

There are several applications of optimistic rollups that you can integrate into your own decentralized apps:

Zero-knowledge rollups (validity-proofs)

Zero-knowledge rollups (ZK rollups) bundle thousands of transactions off of the main Ethereum chain and create a cryptographic proof which is known simply as validity proof, aka SNARK (succinct non-interactive argument of knowledge), which is posted to the Ethereum Mainnet.

What Are Ethereum Rollups? (5)

Getty Images

The smart contract for a ZK rollup keeps the data of all transfers on layer 2 and the data can only be edited with validity proof. Meaning, ZK rollups only need validity proof, opposed to all the transaction data. This function decreases the cost to transact due to less data being included.

When it comes to ZK rollups, there is minimal hesitation when moving assets from layer 2 to layer 1, considering the validity proof has already been approved by the ZK rollup and has already authorized the transaction.

Advantages of ZK rollups include:

  • Near-instant transfers
  • Not vulnerable to the attacks that optimistic rollups may be affected by
  • Still secure and decentralized

Disadvantages of ZK rollups:

  • Validity proofs are extreme to compute for smaller applications with less on-chain activity
  • A user can influence transaction ordering
  • Some rollups don’t offer Ethereum Virtual Machine (EVM) support

As well, there are numerous applications of ZK rollups that you can integrate into your own decentralized app:

Overall, rollups are Ethereum’s solution to solve high gas fees, slow transaction times, and increase scalability.

Applications like Immutable X are being used for large-scale NFT projects like Gary Vee’s Book Games and offer consumers a cheaper and more efficient way to collect their favorite NFTs.

Did you like this article?

What Are Ethereum Rollups? (9)

Liked

What Are Ethereum Rollups? (10)

Disliked

More from one37pm

Copy Link

What Are Ethereum Rollups? (2024)

FAQs

What Are Ethereum Rollups? ›

Rollups. Rollups perform transaction execution outside layer 1 and then the data is posted to layer 1 where consensus is reached. As transaction data is included in layer 1 blocks, this allows rollups to be secured by native Ethereum security.

What are the most popular Ethereum rollups? ›

The Top 15 ZK-Rollup Projects of 2023
  • Polygon. Polygon is currently the largest Ethereum Layer-2 blockchain both by TVL (total value locked in DeFi protocols) and by native token market cap via its popular $MATIC token. ...
  • StarkNet/StarkEx. ...
  • ZKSync. ...
  • Loopring. ...
  • Aztec/Aztec Network. ...
  • Immutable X. ...
  • Scroll. ...
  • Fox/Fox Tech.
Jan 13, 2023

What is a rollup in a blockchain? ›

Rollups are a Layer 2 solution that bundles up transaction data and transfers it off the main chain (or Layer 1 blockchain). Transaction execution is then performed off-chain, while assets are held in an on-chain smart contract. The transaction data will be sent back to the main blockchain upon completion.

Why are rollups required? ›

Rollups are a Layer 2 scaling solution that increases the Ethereum network's transaction throughput without compromising its security. In essence, rollups bundle or "roll up" multiple transactions into a single one, significantly reducing the amount of data that needs to be stored and processed on-chain.

What is the difference between side chain and rollup? ›

The key difference between sidechains and rollups is that the latter provide the main chain with cryptographic proofs that make it possible to verify the rollup's „honesty“ (correctness of the data) without verifying the transactions themselves. In turn, rollups come in two types: optimistic and ZK, or zero-knowledge.

Which coin can overtake Ethereum? ›

QTUM. One of the most promising contenders for Ethereum's title is QTUM, a hybrid cryptocurrency technology that takes the best attributes of bitcoin and Ethereum before blending them together.

Is Polygon a rollup of Ethereum? ›

Polygon Hermez is a ZK rollup project with decentralization as the main objective, and it is reputedly the only decentralized ZK rollup operating atop the Ethereum network. The Hermez network uses a novel consensus algorithm, called proof of efficiency (PoE), to ensure decentralization and network security.

What is rollup vs ZK? ›

Optimistic rollups are called “optimistic” because they assume all the Layer 2 transactions are valid until proven otherwise. On the other hand, ZK-rollups use a complex piece of cryptography called a zero-knowledge proof to prove the transactions' validity without knowing too much about the transactions' specifics.

Which blockchains use zk-rollups? ›

A ZK-rollup chain is an off-chain protocol that operates on top of the Ethereum blockchain and is managed by on-chain Ethereum smart contracts. ZK-rollups execute transactions outside of Mainnet, but periodically commit off-chain transaction batches to an on-chain rollup contract.

What kind of rollup is arbitrum? ›

Arbitrum One is an Optimistic Rollup that aims to feel exactly like interacting with Ethereum, but with transactions costing a fraction of what they do on L1. Centralized Sequencer receives users' transactions and regularly sends the transaction batch to mainnet Ethereum.

What are the most used Ethereum contracts? ›

Uniswap V3 was the most used Ethereum contract in 2022.

What are the most popular sh*tcoins? ›

Popular sh*tcoins such as Dogecoin (DOGE), Shiba Inu (SHIB), ApeCoin (APE), and Floki Inu (FLOKI) have offered high growth in the last few years. But, new projects such as Wall Street Memes (WSM), Thug Life (THUG), Chimpzee (CHMPZ), and eTukTuk (TUK) are also gaining popularity and offer more room for growth.

What is the most popular Ethereum implementation? ›

js – Ethereum Library Ecosystem. Ethers. js is one of the most complete and compact Ethereum library ecosystem, making it one of the most popular Ethereum development tools.

Top Articles
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 6042

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.