What are Layer 2 rollups and how do they work?

Ethereum is one of the most widely used blockchain networks. It supports smart contracts, decentralised finance (DeFi), NFTs and many other applications. However, as more people use Ethereum, the network can face challenges such as high transaction fees and limited processing capacity.
To address these challenges, developers have introduced different scaling solutions. One important solution is called Layer 2 rollups.
Rollups help process transactions outside Ethereum’s main network while using Ethereum for important security and settlement functions.
But what exactly are rollups? How do they work, and why are they important for Ethereum?
Let’s understand the concept step by step.
What are Layer 2 rollups?
Layer 2 rollups are scaling solutions built on top of a blockchain network, such as Ethereum.
They process transactions outside Ethereum’s main blockchain and then submit transaction data or cryptographic proofs to the main network.
In simple terms, imagine several people making transactions on Ethereum. Instead of processing every transaction separately on the main network, a rollup processes multiple transactions together and submits the required information to Ethereum.
This approach can reduce the amount of work Ethereum needs to perform directly for each transaction.
As a result, rollups can help increase transaction capacity and reduce costs for users.
Ethereum acts as the Layer 1 network, while rollups operate as Layer 2 networks.
Why does Ethereum need Layer 2 rollups?
Ethereum has limited block space. When many users interact with the network at the same time, they compete for that space.
For example, imagine thousands of people trying to swap tokens, transfer ETH or use decentralised applications simultaneously.
This increased demand can create network congestion. Consequently, transaction fees may rise and users may experience delays.
Layer 2 rollups help address these challenges by moving much of the transaction execution away from the main Ethereum network.
Here are their main purposes:
- Improve scalability: Rollups process multiple transactions outside the main network.
- Reduce transaction costs: They distribute certain costs across multiple transactions.
- Increase transaction capacity: They allow applications to handle more activity.
- Support decentralised applications: They help make activities such as token swaps, gaming and DeFi more accessible.
However, rollups do not remove every limitation. Their performance also depends on their design, infrastructure and connection to Ethereum.
How do Layer 2 rollups work?
Rollups collect transactions, process them outside Ethereum’s main network and send information back to Ethereum.
Although different rollups use different verification methods, their general process follows a similar structure.
Step 1: Users submit transactions
First, users interact with applications on a Layer 2 network.
For example, someone may transfer tokens, swap cryptocurrencies or interact with a smart contract.
These transactions take place on the rollup rather than directly on Ethereum’s main network.
Step 2: The rollup processes transactions
Next, the rollup executes multiple transactions and updates its state.
Instead of asking Ethereum to execute every transaction individually, the rollup handles much of this work separately.
Step 3: Transactions are grouped together
The rollup combines multiple transactions into batches.
It then prepares the required transaction data or a cryptographic proof, depending on the rollup’s design.
Step 4: Information reaches Ethereum
The rollup submits the relevant information to the Ethereum main network.
Ethereum can then use this information to support verification, data availability and settlement.
Step 5: The network verifies the result
Finally, Ethereum’s verification mechanisms help establish whether the rollup’s state update follows the required rules.
The exact verification process depends on the type of rollup.
This approach allows rollups to process many transactions while relying on Ethereum for important security functions.
What are the two main types of Layer 2 rollups?
Ethereum rollups generally fall into two major categories:
- Optimistic rollups.
- Zero-knowledge rollups.
Both aim to improve scalability, but they use different methods to verify transactions.
1. What are optimistic rollups?
Optimistic rollups assume that submitted transaction batches are valid unless someone successfully challenges them.
In other words, they treat transactions as valid by default while providing a mechanism to detect and challenge incorrect state updates.
This process uses fraud proofs, also called fault proofs in some systems.
Here’s how it works:
- Users submit transactions to the Layer 2 network.
- The rollup processes and groups those transactions.
- It submits the resulting information to Ethereum.
- A challenge mechanism allows participants to dispute an incorrect result.
- If a valid challenge proves that the result was incorrect, the protocol can reject or correct the disputed state update.
Optimistic rollups generally include a challenge period before certain withdrawals to Ethereum become final.
This means moving funds from an optimistic rollup back to Ethereum’s main network can take longer through the standard withdrawal process.
Examples include: <Entity value=”Optimism” category=”software” disambig=”Ethereum Layer 2 scaling network”/> and <Entity value=”Arbitrum” category=”software” disambig=”Ethereum Layer 2 scaling network”/>.
2. What are zero-knowledge rollups?
Zero-knowledge rollups, commonly called ZK-rollups, use cryptographic validity proofs to demonstrate that transactions follow the required rules.
Instead of relying on a challenge period, they submit proofs that Ethereum can verify.
Here’s how the process works:
- Users submit transactions to the Layer 2 network.
- The rollup processes multiple transactions.
- It generates a cryptographic validity proof.
- The rollup submits the proof and required data to Ethereum.
- Ethereum verifies the proof before accepting the corresponding state update.
These proofs help Ethereum verify the correctness of a large number of transactions without executing every transaction again.
However, proof generation and verification involve technical complexity. Different ZK-rollups also use different proof systems and data arrangements.
Examples include: <Entity value=”Starknet” category=”software” disambig=”Ethereum Layer 2 scaling network”/> and <Entity value=”zkSync” category=”software” disambig=”Ethereum Layer 2 scaling network”/>.
Optimistic rollups vs ZK-rollups
Both rollup types help Ethereum scale, but their verification methods differ.
| Feature | Optimistic rollups | ZK-rollups |
|---|---|---|
| Verification method | Fraud or fault proofs | Cryptographic validity proofs |
| Basic approach | Assume validity unless challenged | Prove validity through cryptography |
| Challenge period | Generally includes a challenge period | Does not rely on the same fraud-proof challenge process |
| Withdrawal experience | Standard withdrawals may take longer | Can often offer faster proof-based withdrawals, depending on the system |
| Technical complexity | Uses challenge and dispute mechanisms | Requires specialised proof generation and verification |
| Examples | Optimism, Arbitrum | Starknet, zkSync |
Neither type is automatically better for every application. Developers consider security, costs, performance, compatibility and user experience when choosing a rollup design.
What is the difference between Layer 1 and Layer 2?
To understand rollups better, it helps to compare Layer 1 and Layer 2.
Layer 1 refers to the main blockchain network. In this case, Ethereum processes transactions, maintains consensus and provides the underlying settlement and security infrastructure.
Layer 2 refers to additional networks that process transactions while relying on Layer 1 for important security or settlement functions.
| Feature | Layer 1 | Layer 2 |
|---|---|---|
| Meaning | Main blockchain | Scaling network built on or connected to the main blockchain |
| Example | Ethereum | Arbitrum, Optimism |
| Transaction processing | Directly on the main network | Primarily outside the main network |
| Main purpose | Consensus, security and settlement | Improve transaction capacity and user experience |
| Fees | Can increase during high demand | Often lower, but still vary |
In simple terms, Layer 2 networks help reduce the workload on Ethereum’s main network.
What are the benefits of Layer 2 rollups?
Rollups offer several advantages for the Ethereum ecosystem.
1. Lower transaction costs
Rollups process multiple transactions together and distribute certain costs across them.
As a result, users may pay less than they would for comparable activity directly on Ethereum.
However, Layer 2 transactions still involve fees, and costs vary across networks.
2. Higher transaction capacity
Since rollups handle transaction execution separately, they can support more activity without requiring Ethereum to execute every transaction individually.
Consequently, applications can serve more users.
3. Ethereum security connection
Rollups can use Ethereum for settlement and other security functions.
This gives them an important connection to Ethereum’s established blockchain infrastructure.
However, the level of security depends on how each rollup handles transaction data, proofs, upgrades, administrators and withdrawals.
4. Better application experience
Lower fees and faster transaction processing can make blockchain applications more accessible.
For example, users may find it more practical to interact with DeFi applications, blockchain games and token platforms on Layer 2 networks.
What are the risks and limitations of rollups?
Although rollups offer important benefits, they also introduce risks that users should understand.
1. Centralisation risks
Some rollups depend on a limited number of operators or sequencers to order and process transactions.
If these systems experience downtime or operational problems, users may face delays.
2. Bridge risks
Moving assets between Ethereum and Layer 2 networks often involves bridge infrastructure.
Smart contract vulnerabilities, technical failures or other security problems can put funds at risk.
3. Different security models
Not every rollup offers the same level of decentralisation or security.
For example, some systems may still depend on upgrade administrators, restricted proof submission or other trust assumptions.
Therefore, users should understand the security model of a particular rollup before using it.
4. Withdrawal delays
Some optimistic rollups use challenge periods for standard withdrawals to Ethereum.
As a result, users may need to wait before receiving funds on the main network.
5. Data availability considerations
Rollups need to make sufficient transaction data available so that users or network participants can verify the rollup’s state and recover access when necessary.
Different systems use different data availability arrangements. These arrangements can influence their security assumptions and costs.
How can beginners use Layer 2 networks?
Beginners can interact with Layer 2 networks through compatible cryptocurrency wallets and decentralised applications.
However, it is important to check a few details before transferring funds:
- Check network compatibility: Make sure your wallet supports the Layer 2 network you want to use.
- Verify the network: Confirm that you have selected the correct network before sending assets.
- Understand bridge options: Use trusted bridge services and review their security arrangements.
- Keep enough funds for fees: You may need ETH or another supported fee token, depending on the network.
- Start with a small transaction: Test the process before transferring a larger amount.
Most importantly, never assume that two networks support the same assets or transaction methods.
Frequently asked questions (FAQs)
1. What is a Layer 2 rollup in simple terms?
A Layer 2 rollup is a network that processes multiple transactions outside a main blockchain and submits the required information or proofs to the main network. It helps improve transaction capacity and reduce costs.
2. Are Layer 2 rollups part of Ethereum?
Ethereum rollups operate as separate execution environments connected to Ethereum. They use Ethereum for important functions such as settlement and, depending on their design, data availability.
3. What is the difference between optimistic and ZK-rollups?
Optimistic rollups generally assume transaction batches are valid unless someone successfully challenges them. ZK-rollups use cryptographic validity proofs to demonstrate that transactions follow the required rules.
4. Are Layer 2 transactions cheaper than Ethereum transactions?
They are often cheaper because rollups distribute certain costs across multiple transactions. However, fees depend on network activity, transaction complexity and the rollup’s design.
5. Do Layer 2 rollups use ETH?
Many Ethereum Layer 2 networks use ETH for transaction fees. However, some networks support other fee tokens or different payment arrangements.
6. Are Layer 2 rollups completely risk-free?
No. They can involve risks related to smart contracts, bridges, sequencers, upgrades and data availability. Users should understand these risks before using a particular network.
Disclaimer: This article is for educational purposes only and does not provide financial or investment advice. Layer 2 networks involve technical, security and operational risks. Always research a network and its security model before transferring digital assets.

