Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Rollup

A rollup is a Layer 2 blockchain scaling solution that executes transactions off-chain and posts compressed transaction data or validity proofs to a Layer 1 blockchain for security and finality.
Chainscore © 2026
definition
BLOCKCHAIN SCALING

What is Rollup?

A Rollup is a Layer 2 scaling solution that executes transactions off-chain and posts compressed data back to a base Layer 1 blockchain like Ethereum for security and finality.

A Rollup is a Layer 2 (L2) blockchain scaling technology that processes and executes transactions off-chain, outside the main Layer 1 (L1) network. It bundles or 'rolls up' hundreds of transactions into a single, compressed data packet, which is then submitted to the L1 as a single transaction. This fundamental mechanism drastically reduces the data load and computational cost on the base chain, enabling higher throughput and lower fees while inheriting the underlying blockchain's security guarantees.

The core innovation lies in the data availability model. All transaction data, albeit in a compressed form, is published and permanently stored on the L1. This allows any honest party to reconstruct the rollup's state and verify the correctness of transactions, or fraud proofs, ensuring the system remains trust-minimized. The two primary architectures are Optimistic Rollups, which assume transactions are valid and only run computations to challenge fraud, and ZK-Rollups (Zero-Knowledge Rollups), which use cryptographic validity proofs for each batch to instantly verify correctness.

Key technical components include a sequencer (which orders transactions and creates batches), verifiers (which validate state transitions), and a bridge contract on the L1 (which manages deposits, withdrawals, and data posting). Popular implementations include Arbitrum and Optimism (Optimistic), and zkSync and StarkNet (ZK). By moving execution off-chain but keeping data and consensus on-chain, rollups achieve a balance of scalability and decentralization that pure sidechains or alternative L1s cannot match.

The primary trade-offs between the two types involve the time to finality and computational complexity. Optimistic Rollups have a challenge period (often 7 days) for withdrawals, making them slower but generally more compatible with the Ethereum Virtual Machine (EVM). ZK-Rollups provide near-instant finality but require complex, computationally intensive proof generation, though advancements in ZK-SNARKs and ZK-STARKs are rapidly improving their efficiency and programmability.

Rollups are a cornerstone of Ethereum's scaling roadmap, often described as the 'endgame' for scaling. Their development is guided by a vision where the L1 acts as a secure settlement and data availability layer, while high-throughput, low-cost execution occurs across a vibrant ecosystem of interoperable rollups. This modular approach is fundamental to achieving scalability without compromising on the core principles of decentralization and security.

how-it-works
BLOCKCHAIN SCALING MECHANISM

How a Rollup Works

A rollup is a Layer 2 scaling solution that executes transactions off-chain and posts compressed transaction data to a parent blockchain, inheriting its security.

A rollup is a Layer 2 (L2) blockchain that processes and executes transactions outside the main Layer 1 (L1) chain, such as Ethereum, but posts the resulting data back to it. This fundamental architecture bundles, or 'rolls up,' hundreds of transactions into a single compressed data batch. By moving computation off-chain while retaining data on-chain, rollups dramatically increase transaction throughput and reduce user fees, as only the summarized data needs expensive L1 block space. The L1 acts as the ultimate arbiter of truth and security guarantor, a concept known as inherited security.

The core innovation is in the data posted to the L1, known as the calldata or blobs. This data contains the minimal information required to reconstruct the state of the rollup, typically just the essential transaction inputs and outputs. There are two primary models for how this data is verified: Optimistic Rollups and Zero-Knowledge (ZK) Rollups. Optimistic rollups assume transactions are valid by default and only run computation via a fraud proof if a challenge is issued. ZK-rollups use validity proofs (ZK-SNARKs or ZK-STARKs) to cryptographically prove the correctness of every batch before it's finalized on L1.

For users, interacting with a rollup requires a bridge to move assets from the L1 to the L2. Once there, transactions are fast and cheap. The rollup's sequencer (a designated node) orders transactions, creates batches, and submits them to the L1. The security model hinges on the ability for any honest party to reconstruct the exact state of the L2 from the data published on the L1, ensuring data availability. This makes the system trust-minimized; even if the rollup operators fail, users can always exit their funds using the on-chain data.

Prominent examples illustrate the two models. Arbitrum and Optimism are leading Optimistic Rollup networks that have pioneered fraud-proof mechanisms and developer-friendly EVM-equivalent environments. zkSync Era, Starknet, and Polygon zkEVM are major ZK-Rollup implementations, leveraging zero-knowledge proofs for near-instant finality. Each makes different trade-offs between proof generation speed, computational cost, and general-purpose programmability, but all share the core rollup principle of off-chain execution with on-chain data availability.

The long-term roadmap for rollups, especially on Ethereum, involves further data compression through EIP-4844 (proto-danksharding) which introduces blob-carrying transactions. This dedicated data storage is significantly cheaper than traditional calldata, reducing L1 costs for rollups by an order of magnitude. This evolution underscores the rollup-centric scaling vision, where the L1 becomes a secure data and settlement layer, while high-throughput execution is delegated to a vibrant ecosystem of interoperable L2 rollups.

key-features
ARCHITECTURE

Key Features of Rollups

Rollups are a Layer 2 scaling solution that execute transactions off-chain and post compressed data back to a Layer 1 blockchain (like Ethereum) for security and finality. Their core features define security, performance, and compatibility trade-offs.

01

Data Availability

The mechanism by which transaction data is made available for verification. Optimistic Rollups post all transaction data to the L1, while Validium and Volition models can use off-chain data availability committees. This is the critical security assumption for fraud or validity proofs.

02

Proof System

The cryptographic method used to verify the correctness of off-chain execution.

  • Fraud Proofs (Optimistic): Assume correctness but allow a challenge period for anyone to submit proof of fraud.
  • Validity Proofs (ZK-Rollups): Use zero-knowledge proofs (like zk-SNARKs or zk-STARKs) to cryptographically prove state transitions are valid.
03

Execution & Settlement

Transactions are executed off-chain by a sequencer, which batches them. The rollup's settlement layer (the L1) receives the batch data and proofs, finalizing the state. This separation enables high throughput while inheriting the L1's security guarantees.

04

EVM Equivalence

A spectrum of compatibility with the Ethereum Virtual Machine. EVM-Compatible rollups can run Solidity smart contracts with minor adjustments. EVM-Equivalent rollups (like Optimism) are bytecode-identical, allowing seamless deployment of existing dApps and tooling.

05

Sequencer Decentralization

The entity responsible for ordering transactions into a batch. Most current rollups use a centralized sequencer for efficiency. A key area of development is moving to decentralized sequencer sets to eliminate this single point of failure and enhance censorship resistance.

06

Cross-Rollup Communication

Protocols like bridges and messaging layers (e.g., Nomad, LayerZero) that enable asset and data transfer between different rollups and the L1. This is essential for a multi-rollup ecosystem, though it introduces security considerations distinct from the rollups themselves.

L2 SCALING COMPARISON

Optimistic Rollup vs. ZK-Rollup

A technical comparison of the two dominant Layer 2 scaling architectures, detailing their core mechanisms, performance, and trade-offs.

Feature / MetricOptimistic RollupZK-Rollup

Core Security Mechanism

Fraud Proofs (Dispute Period)

Validity Proofs (ZK-SNARKs/STARKs)

Time to Finality (L1)

~7 days (Challenge Period)

< 10 minutes

Transaction Throughput (TPS)

High

Very High

On-Chain Data Availability

Full transaction data (calldata)

State diffs or validity proof

Transaction Cost (Gas)

Lower than L1, higher than ZK

Lowest (post-proof verification)

Computational Overhead (Prover)

Low

Very High (proof generation)

General Smart Contract Support

Limited (EVM-compatible ZK-EVMs emerging)

Trust Assumption

1-of-N honest validator

Cryptographic (trustless)

examples
IMPLEMENTATIONS

Examples of Rollup Protocols

Rollups are implemented using different cryptographic approaches for data availability and fraud/validity proofs. The major categories are Optimistic and Zero-Knowledge (ZK) Rollups.

data-availability
BLOCKCHAIN GLOSSARY

Data Availability: The Core Requirement

An explanation of why data availability is the fundamental security guarantee for modern blockchain scaling solutions like rollups.

Data availability is the guarantee that the data required to verify the state of a blockchain or layer-2 network is published and accessible to all participants. In the context of rollups, this specifically refers to the public posting of transaction data, or its cryptographic commitments, to a base layer like Ethereum. Without this guarantee, a malicious operator could withhold data, making it impossible for users or verifiers to detect invalid state transitions or to reconstruct the chain's history, breaking the system's security model.

The core problem, known as the data availability problem, asks: how can a network node be sure that all data for a new block is actually published and not being hidden? A malicious block producer could create a block containing invalid transactions but only publish the block header, withholding the transaction data that would prove the invalidity. Solutions to this problem are critical for light clients and scaling architectures that rely on data sampling or fraud proofs. Data availability sampling (DAS), used by technologies like Ethereum danksharding and Celestia, allows light nodes to verify data availability by randomly sampling small pieces of a block.

For optimistic rollups, data availability is the primary security mechanism. These rollups post transaction data to Ethereum as calldata or blobs, initiating a challenge period during which anyone can submit a fraud proof if they detect an error. If the data is unavailable, fraud proofs cannot be constructed, rendering the system insecure. Validium is a variant that trades off this guarantee for lower cost by storing data off-chain with a separate committee, introducing a different trust assumption.

In contrast, zk-rollups post validity proofs (ZK-SNARKs/STARKs) to the base layer, which cryptographically guarantee state correctness. However, they still require data availability for user functionality: without the published transaction data, users cannot compute their own balances or create new transactions. The posted data serves as the authoritative record for rebuilding state and enabling censorship-resistant withdrawals. This is why the distinction between a zk-rollup and a validium hinges entirely on its data availability solution.

The evolution of base-layer infrastructure is heavily focused on improving data availability. Ethereum's EIP-4844 (Proto-Danksharding) introduced blob-carrying transactions, which provide a dedicated, low-cost data space for rollups that is not accessed by the Ethereum Virtual Machine (EVM) but is guaranteed to be available. Future upgrades aim to implement full danksharding, scaling data availability through a network of nodes that perform data availability sampling, dramatically increasing throughput for rollup data without requiring every node to store all of it.

security-considerations
ROLLUP

Security Considerations & Trust Assumptions

Rollups enhance scalability by processing transactions off-chain, but they introduce distinct security models and trust assumptions based on their architecture.

05

Upgradeability & Admin Keys

Most rollup smart contracts on L1 are upgradeable, controlled by a multi-sig wallet held by the development team or a DAO. This introduces a significant trust assumption:

  • Admins can change contract logic, potentially stealing funds or altering security parameters.
  • This is often a temporary measure, with a roadmap to timelocks and eventually irrevocable decentralization.

Users must audit the governance process and the entities controlling the upgrade keys. The risk is that the rollup is only as secure as the integrity of its key holders.

06

Bridge & Withdrawal Security

Moving assets between L1 and a rollup depends on the security of its bridge contract. Withdrawals are secured by the rollup's own verification mechanism (fraud or validity proofs). Key considerations:

  • Optimistic Rollups: Users must wait for the challenge period (e.g., 7 days) for full withdrawal security.
  • ZK-Rollups: Withdrawals can be fast, as they are secured by a validity proof.
  • Escape Hatches: Most designs include force withdrawal mechanisms that allow users to exit directly via L1 if the rollup halts, though these may have delays.
DEBUNKED

Common Misconceptions About Rollups

Rollups are a cornerstone of Ethereum scaling, but their technical nature leads to widespread misunderstandings. This section clarifies the most persistent myths about their security, functionality, and relationship to the base layer.

No, rollups are fundamentally distinct from sidechains because they derive their security from the underlying Layer 1 (L1) blockchain, whereas sidechains have their own independent consensus. A rollup executes transactions off-chain but posts compressed transaction data and cryptographic proofs (a validity proof in ZK-Rollups or a fraud proof in Optimistic Rollups) to the L1. This data availability ensures the L1 can reconstruct the rollup's state and verify its correctness, making rollups inheritably secure. In contrast, a sidechain uses its own validator set and consensus mechanism, meaning its security is separate and often weaker than the main chain.

ecosystem-usage
ROLLUP

Ecosystem Usage and Adoption

Rollups are a leading Layer 2 scaling solution that execute transactions off-chain and post compressed data back to a Layer 1 blockchain (like Ethereum) for security and finality. Their adoption is measured by key metrics like Total Value Locked (TVL), transaction throughput, and developer activity.

01

Dominant Market Share

Rollups, particularly Optimistic Rollups and ZK-Rollups, hold the vast majority of value and activity in the Layer 2 ecosystem. They dominate Total Value Locked (TVL), a key adoption metric, by offering significantly lower fees and higher throughput than their base Layer 1 chains while inheriting their security.

  • Arbitrum One and OP Mainnet (Optimistic Rollups) lead in TVL and user count.
  • zkSync Era and Starknet (ZK-Rollups) are prominent for their technological innovation and growing DeFi ecosystems.
> 80%
L2 TVL Share
02

Transaction Throughput & Cost

The primary driver for rollup adoption is their ability to process thousands of transactions per second (TPS) at a fraction of the cost of Layer 1. They achieve this by batching transactions and posting only minimal calldata or a cryptographic proof to the main chain.

  • Cost Reduction: Users often see fee reductions of 10x to 100x compared to transacting directly on Ethereum.
  • Throughput: While theoretical TPS can be very high, practical throughput is often limited by data availability costs on the Layer 1.
03

Developer & dApp Migration

Rollup adoption is fueled by EVM-equivalence (Optimistic) or EVM-compatibility (ZK), allowing developers to deploy existing smart contracts with minimal changes. Major DeFi protocols (Uniswap, Aave, Curve) and NFT platforms have deployed canonical versions on leading rollups.

  • Tooling: Mature SDKs, block explorers (Arbiscan, Blockscout), and wallets (MetaMask) provide a familiar developer experience.
  • Cross-chain Infrastructure: Bridges and messaging layers (like LayerZero, Axelar) facilitate asset and data transfer between rollups and other chains.
04

Key Adoption Metrics

Beyond TVL, rollup health and usage are tracked through several on-chain metrics:

  • Daily Active Addresses (DAA): Measures unique interacting wallets.
  • Transactions Per Second (TPS): Actual processed transaction volume.
  • Gas Saved: Aggregate fee reduction for users compared to Layer 1.
  • Time to Finality: How long until a transaction is considered irreversible (faster for ZK-Rollups).
  • Contract Deployments: Indicator of developer activity and ecosystem growth.
05

The Superchain Vision

A major trend is the move towards interoperable rollup ecosystems or "Superchains." Frameworks like the OP Stack (used by OP Mainnet, Base, Mode) and the Arbitrum Orbit chain creation toolkit allow developers to launch their own application-specific or general-purpose rollups that share security, communication layers, and tooling.

This promotes a modular blockchain landscape where sovereignty is maintained while leveraging shared infrastructure for liquidity and composability.

06

Adoption Challenges

Despite rapid growth, rollups face adoption hurdles:

  • Liquidity Fragmentation: Assets and users are spread across multiple rollups and Layer 1s.
  • Withdrawal Delays: Optimistic Rollups have a 7-day challenge period for trustless exits, though bridges offer faster, trust-assisted withdrawals.
  • Centralization Risks: Most rollups rely on a single sequencer for transaction ordering, creating a potential point of failure. Decentralizing the sequencer is a key roadmap item.
  • User Experience: Managing assets across multiple chains and understanding different security models remains complex for non-technical users.
ROLLUPS

Frequently Asked Questions (FAQ)

Essential questions and answers about rollups, a leading Layer 2 scaling solution for Ethereum and other blockchains.

A rollup is a Layer 2 (L2) scaling solution that executes transactions outside the main blockchain (Layer 1 or L1) and posts compressed transaction data back to it for security. It works by bundling, or 'rolling up,' hundreds of transactions into a single batch. A sequencer processes these transactions off-chain and generates a cryptographic proof (a validity proof or a fraud-proof-ready data package). This proof and the minimal, compressed transaction data are then posted to the L1, where the rollup's smart contract verifies it, ensuring the integrity of the off-chain execution while inheriting the L1's security.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
What is a Rollup? Layer 2 Scaling Solution Explained | ChainScore Glossary