What Is a Rollup? Definition, Types, and Role in Blockchain Scaling
Definition
A rollup is a Layer 2 blockchain scaling solution that executes transactions outside the main blockchain (Layer 1) but posts transaction data or proofs back to the Layer 1 for security. Rollups “roll up” hundreds or thousands of transactions into compressed batches that are submitted to the base layer, achieving dramatic throughput improvements whilst inheriting the security guarantees of the underlying chain.
Rollups represent the dominant scaling approach for Ethereum, the most widely used smart contract platform. By moving transaction execution off-chain whilst maintaining data availability and verification on Ethereum, rollups reduce gas costs by orders of magnitude, increase transactions per second, and improve user experience — all without requiring users to trust a separate chain’s security.
How Rollups Work
Rollups operate through a consistent high-level process, regardless of specific implementation.
Transaction execution occurs on the rollup’s own execution environment. Users submit transactions to rollup nodes (called sequencers or operators) that process them, update state, and produce results — identically to how a standalone blockchain processes transactions, but with far fewer validators and correspondingly faster execution.
State compression reduces the data footprint of executed transactions. Rather than posting complete transaction data, rollups compress state changes into minimal representations — recording only the net effects of each batch rather than every intermediate step.
Data posting submits compressed transaction data or state commitments to the Layer 1 (Ethereum). This posting ensures that the data required to reconstruct the rollup’s state is available on the most secure and decentralised infrastructure, preventing the rollup operator from withholding data and holding users’ assets hostage.
Verification ensures that the rollup operator processed transactions correctly. This verification step distinguishes the two major rollup categories — optimistic and zero-knowledge — which differ fundamentally in how correctness is established.
Optimistic Rollups
Optimistic rollups assume that all submitted transaction batches are valid unless proven otherwise — an “optimistic” assumption that eliminates the need for immediate verification.
Fraud proof mechanism — After a batch is submitted to Layer 1, a challenge period (typically seven days) begins during which anyone can submit a fraud proof demonstrating that the batch was processed incorrectly. If a valid fraud proof is submitted, the invalid batch is reversed and the dishonest operator is penalised (slashed).
Advantages — Optimistic rollups are simpler to implement and support full EVM compatibility, meaning existing Ethereum smart contracts can deploy on optimistic rollups with minimal modification. This compatibility has driven rapid adoption.
Limitations — The seven-day challenge period creates withdrawal delays. Users bridging assets back to Ethereum must wait for the challenge period to expire before their withdrawal is finalised. Liquidity bridges that advance funds before the challenge period expires mitigate this inconvenience but introduce additional trust assumptions and fees.
Major implementations — Arbitrum and Optimism (and its OP Stack derivatives, including Base) are the leading optimistic rollups, collectively hosting the majority of Layer 2 transaction volume.
Zero-Knowledge Rollups
Zero-knowledge (ZK) rollups use cryptographic zero-knowledge proofs to mathematically prove that each batch was processed correctly, eliminating the need for challenge periods.
Validity proof mechanism — The rollup operator generates a zero-knowledge proof (typically a zk-SNARK or zk-STARK) demonstrating that all transactions in a batch were executed correctly and that the resulting state transition is valid. This proof is submitted to Layer 1 alongside the batch data, and a verification smart contract on Ethereum checks the proof’s validity.
Advantages — ZK rollups achieve near-instant finality (withdrawals are available as soon as the proof is verified, without a multi-day challenge period). They also offer stronger security guarantees — correctness is mathematically proven rather than assumed, so there is no dependency on external fraud proof submitters.
Limitations — Generating zero-knowledge proofs is computationally expensive, requiring specialised hardware and significant processing time. Achieving full EVM compatibility in ZK rollups (known as zkEVM) is technically challenging, though major implementations have achieved it. And the complexity of ZK proof systems creates a larger and more subtle attack surface in the proving system itself.
Major implementations — zkSync Era, StarkNet, Polygon zkEVM, Scroll, and Linea represent the leading ZK rollup implementations, each with different trade-offs between EVM compatibility, proof generation speed, and decentralisation.
Comparing Rollup Types
| Dimension | Optimistic Rollups | ZK Rollups |
|---|---|---|
| Verification | Fraud proofs (reactive) | Validity proofs (proactive) |
| Withdrawal time | ~7 days (challenge period) | Minutes (after proof verification) |
| EVM compatibility | Full (easier) | Progressing (harder) |
| Computational cost | Lower (no proof generation) | Higher (proof generation) |
| Security model | Assumes honesty, relies on challengers | Mathematically proven correctness |
Rollups and the Web3 Ecosystem
Rollups have become essential infrastructure for the Web3 ecosystem, enabling application categories that Ethereum mainnet gas costs make impractical.
DeFi — Lower gas costs enable smaller trade sizes, more frequent rebalancing, and complex multi-step strategies that would be prohibitively expensive on mainnet.
NFTs — Minting, trading, and gaming interactions become economical on rollups, enabling mass-market NFT applications.
DApps — Applications requiring frequent user interactions (social platforms, gaming, micro-transactions) can operate on rollups with mainstream-compatible cost structures.
DAO governance — On-chain voting becomes practical when vote transactions cost fractions of a cent rather than several dollars.
The rollup-centric roadmap — Ethereum’s official scaling strategy — envisions a future where Ethereum mainnet serves primarily as a settlement and data availability layer, with virtually all user-facing activity occurring on rollups. This architecture combines Ethereum’s security and decentralisation with the throughput and cost efficiency that mass adoption requires.
Donovan Vanderbilt is a contributing editor at ZUG WEB3, the decentralised protocol intelligence publication of The Vanderbilt Portfolio AG, Zurich. He covers Web3 fundamentals, blockchain scaling, and the technical infrastructure enabling decentralised application development.