zk-Rollup

A zk-Rollup (zero-knowledge rollup) is a Layer 2 scaling solution that executes transactions off the main blockchain (Layer 1) and generates a cryptographic validity proof, specifically a zero-knowledge proof, that is submitted to the base layer to verify the correctness of all bundled transactions. This approach dramatically increases throughput while inheriting the security guarantees of the underlying Layer 1, typically Ethereum.

The “zk” in zk-Rollup refers to zero-knowledge proofs, a class of cryptographic techniques that allow one party (the prover) to demonstrate to another party (the verifier) that a statement is true without revealing any information beyond the validity of the statement itself. In the context of rollups, the prover generates a succinct proof that hundreds or thousands of transactions were executed correctly, and the Layer 1 smart contract can verify this proof in a single, cheap on-chain transaction.

zk-Rollups represent one of two major rollup paradigms, alongside Optimistic Rollups. While Optimistic Rollups assume transactions are valid by default and use a fraud-proof challenge period (typically 7 days), zk-Rollups provide immediate mathematical certainty through validity proofs. This gives zk-Rollups faster finality but at the cost of more complex proof generation. Major zk-Rollup projects include zkSync Era, StarkNet, Polygon zkEVM, Scroll, Linea, and Taiko.

How Did zk-Rollups Originate and Evolve?

1985: Shafi Goldwasser, Silvio Micali, and Charles Rackoff publish the foundational paper on zero-knowledge proofs, “The Knowledge Complexity of Interactive Proof Systems.”

2013: Eli Ben-Sasson and others develop SNARKs (Succinct Non-interactive Arguments of Knowledge), making ZK proofs practical for blockchain applications.

2016: Zcash launches using zk-SNARKs for private transactions, demonstrating ZK proofs at blockchain scale.

2018: Barry Whitehat proposes the concept of rollups using SNARKs for Ethereum scaling in a research post.

2020: Loopring launches as one of the first zk-Rollup DEXs on the Ethereum mainnet, processing trades with ZK validity proofs. zkSync 1.0 (now zkSync Lite) launches for token transfers and basic payments using zk-SNARK proofs.

January 2021: Vitalik Buterin publishes “An Incomplete Guide to Rollups,” establishing the theoretical framework for zk-Rollups as Ethereum’s long-term scaling path.

2021: StarkNet alpha launches on Ethereum mainnet, using STARK proofs (no trusted setup required) for general-purpose smart contracts.

2022: Polygon zkEVM launches in beta, aiming for full EVM equivalence with ZK proofs.

2023: zkSync Era launches its mainnet as the first general-purpose zk-Rollup with native account abstraction, reaching over $500 million in TVL within months. Scroll launches mainnet with a bytecode-level compatible zkEVM.

2024: Linea (ConsenSys) launches mainnet. Multiple zk-Rollups exceed $1 billion in TVL. EIP-4844 (blobs), introduced with Ethereum’s Dencun upgrade in March 2024, reduces zk-Rollup data costs by roughly 90%.

2025 to 2026: The zkEVM field matures and reshuffles. Taiko emerges as the leading Type 1 (fully Ethereum-equivalent) zkEVM. Linea and Scroll both advance from Type 3 to Type 2 EVM equivalence. Polygon zkEVM remains Type 3 and becomes a core piece of Polygon’s AggLayer. zkSync Era retains its Type 4, non-EVM-bytecode approach with native account abstraction.

“In the long run, zk-Rollups will win out over optimistic rollups because mathematics provides a stronger guarantee than economics.” Vitalik Buterin

How Can You Explain zk-Rollups in Simple Terms?

Think of zk-Rollups like a teacher grading exams. Instead of checking every student’s work problem by problem (on-chain verification), a trusted assistant grades all the exams (off-chain execution) and provides the teacher with a mathematical proof that all grades are correct. The teacher only needs to verify the proof, not regrade every exam.

It’s like compressing a file before sending it. Hundreds of transactions are “compressed” into a single proof that takes up much less space on the blockchain. The proof guarantees that none of the original data was corrupted.

Imagine an accountant auditing a company’s books. Instead of reviewing millions of individual transactions, the accountant verifies a mathematical summary (the ZK proof) that cryptographically guarantees every entry is legitimate.

It’s similar to a sealed court verdict. The judge (ZK prover) reviews all the evidence (transactions) and produces a verdict (validity proof) that anyone can verify as correct without needing to re-examine all the evidence themselves.

Think of it as a shipping manifest with a tamper-proof seal. The rollup bundles many packages (transactions) together, and the ZK proof serves as an unbreakable seal confirming every package is accounted for and undamaged.

Important: zk-Rollups provide mathematical certainty that transactions are valid, not just economic guarantees. This means funds can be withdrawn to Layer 1 almost immediately without waiting for a challenge period (unlike Optimistic Rollups’ 7-day window). However, generating ZK proofs is computationally expensive and complex.

What Are the Key Technical Features of zk-Rollups?

Zero-Knowledge Proof Systems

Two main proof systems power zk-Rollups:

zk-SNARKs (Succinct Non-interactive Arguments of Knowledge):

  • Used by zkSync, Polygon zkEVM, Scroll, Linea, Loopring
  • Very small proof size (roughly 288 bytes), cheap to verify on-chain
  • Requires a trusted setup ceremony, a one-time process to generate public parameters
  • If the trusted setup is compromised, the system’s security could be broken
  • Proof generation is relatively fast

zk-STARKs (Scalable Transparent Arguments of Knowledge):

  • Used by StarkNet, StarkEx (dYdX v3, Immutable X)
  • No trusted setup required, fully transparent
  • Larger proof size than SNARKs (roughly 50 to 100KB), more expensive to verify on-chain
  • Post-quantum secure, resistant to quantum computer attacks
  • Proof generation scales better with larger computation sizes

How Do zk-Rollups Actually Work?

  1. Users submit transactions to the zk-Rollup sequencer (off-chain)
  2. The sequencer batches hundreds or thousands of transactions together
  3. The sequencer executes all transactions and updates the state (balances, contract storage)
  4. A prover generates a ZK validity proof demonstrating that all state transitions are correct
  5. The proof, new state root, and compressed transaction data are submitted to the Layer 1 smart contract
  6. The L1 contract verifies the proof (a single on-chain computation) and updates the rollup’s state
  7. Transaction data is posted to L1 for data availability, so anyone can reconstruct the rollup state

What Is the EVM Compatibility Spectrum for zk-Rollups?

zk-Rollups vary in their Ethereum Virtual Machine compatibility, using a classification system proposed by Vitalik Buterin:

  • Type 1 (Ethereum equivalent): Full bytecode compatibility; any Ethereum contract works without modification. Taiko is the leading project pursuing this as a “based rollup” that uses Ethereum’s own validators for sequencing.
  • Type 2 (EVM equivalent): Bytecode compatible but with minor differences in internal state representation for proving efficiency. Linea and Scroll have both advanced to this tier as of 2026.
  • Type 3 (EVM compatible): Most Ethereum contracts work but some features differ. Polygon zkEVM currently sits here, with plans to migrate toward Type 2.
  • Type 4 (Language compatible): Compiles Solidity/Vyper to a different VM but supports the same languages. zkSync Era uses this approach, prioritizing prover performance over bytecode-level equivalence.
  • Non-EVM: Custom VM with a dedicated language. StarkNet uses Cairo.

How Is Data Availability Handled?

  • zk-Rollups post compressed transaction data to Ethereum L1, ensuring anyone can verify state
  • EIP-4844 (blobs): introduced in March 2024, provides cheaper temporary data storage specifically for rollups
  • Validiums: a variant that stores data off-chain (cheaper but weaker security guarantees)
  • Volitions: a hybrid approach allowing users to choose between on-chain and off-chain data availability per transaction

What Are the Advantages and Disadvantages of zk-Rollups?

AdvantagesDisadvantages
Mathematical security: validity proofs provide cryptographic certainty, not just economic guaranteesComplex proof generation: ZK proof generation requires significant computational resources
Fast finality: transactions are final once the proof is verified on L1 (minutes, not days)EVM compatibility challenges: achieving full EVM equivalence with ZK proofs is technically difficult
Inherited L1 security: security is as strong as Ethereum’s consensus, not dependent on rollup validatorsHigher initial costs: proof generation hardware and infrastructure is expensive to operate
No challenge period: withdrawals to L1 don’t require a 7-day waiting periodTrusted setup risk: SNARK-based systems require trusted setup ceremonies (STARKs avoid this)
Lower L1 gas costs: validity proofs are smaller than fraud proofs, reducing on-chain costsProver centralization: proof generation is often centralized due to hardware requirements
Data compression: transaction data is heavily compressed before posting to L1Developer tooling maturity: ecosystem tools have historically lagged behind Optimistic Rollup tooling, though this gap has narrowed considerably by 2026
Privacy potential: ZK proofs can enable private transactions without revealing detailsSequencer centralization: most zk-Rollups still rely on a single centralized sequencer, though “based rollup” designs like Taiko’s are working to change this

How Do You Manage zk-Rollup Risk?

Technical risks: ZK cryptography is complex; bugs in the proof system could allow invalid state transitions. The arithmetic circuits that define provable computations can contain errors that compromise security. Centralized sequencers represent a single point of failure, though forced transaction inclusion mechanisms mitigate this. If the prover goes offline, new state transitions cannot be verified; most zk-Rollups have fallback mechanisms.

Security considerations: For SNARK-based rollups, verify that the trusted setup ceremony was conducted correctly with sufficient participants. Understand who controls the rollup’s upgrade keys, since centralized upgrade authority can change the system’s rules. Confirm whether the rollup posts data to L1 (rollup) or off-chain (validium), as this affects your ability to exit if the sequencer fails. Verify that the rollup has an escape hatch, a mechanism for users to force-withdraw funds to L1 even if the sequencer and prover are offline.

Investment risks: zk-Rollup tokens (e.g., ZK for zkSync, STRK for StarkNet) may be volatile and their value depends on network adoption. Multiple zk-Rollup projects compete for users and developers, and not all will succeed. The optimal ZK proof system may change as research advances, potentially making current implementations obsolete. Moving assets between L1 and L2 involves smart contract risk in the bridge/rollup contracts.

Why Do zk-Rollups Matter Culturally?

“zk is the endgame for blockchain scaling. Everything else is just a stepping stone.” A common sentiment in the Ethereum research community.

“The ZK wars are the new L1 wars. zkSync, StarkNet, Polygon zkEVM, Scroll, everyone wants to be the winning zk-Rollup.” A recurring Crypto Twitter narrative since 2023.

zk-Rollups have become one of the most hyped areas in crypto. “ZK season” became a popular narrative in 2023-2024 as major zk-Rollups launched and distributed tokens. Airdrop farming on zk-Rollups (particularly zkSync and StarkNet) became a widespread activity, with users making transactions specifically to qualify for token airdrops. The debate between ZK and Optimistic rollups is one of crypto’s most active technical discussions. “ZK everything” became a meme as projects added “zk” to their names regardless of actual ZK technology usage. Ethereum’s roadmap explicitly positions zk-Rollups as the long-term scaling solution, giving them a narrative advantage.

What Are Some Real-World Examples of zk-Rollups?

zkSync Era Mainnet Launch (2023)

Scenario: Matter Labs launched zkSync Era as the first general-purpose zk-Rollup with native account abstraction on the Ethereum mainnet.

Implementation: zkSync Era uses a custom LLVM-based compiler to convert Solidity and Vyper code into zkEVM-compatible bytecode. The system processes transactions through a centralized sequencer, generates SNARK proofs in batches, and submits them to Ethereum. Native account abstraction allows smart contract wallets by default.

Outcome: zkSync Era attracted over $500 million in TVL within months, hosting DEXs, lending protocols, and NFT platforms. The ZK token airdrop in June 2024 distributed tokens to over 695,000 wallets, though it faced controversy over allocation criteria.

StarkNet and dYdX v3 (2021 to 2023)

Scenario: StarkWare’s STARK proof technology powered dYdX v3, one of the largest perpetual futures DEXs, as a StarkEx validium.

Implementation: dYdX used StarkEx to process thousands of trades per second off-chain, generating STARK proofs that verified all trade settlements on Ethereum. Data availability was handled off-chain (validium mode) for lower costs, with a data availability committee ensuring access.

Outcome: dYdX v3 processed over $1 trillion in cumulative trading volume, demonstrating that zk-Rollup technology could handle institutional-grade trading performance. dYdX later migrated to its own Cosmos-based chain for v4, but the StarkEx implementation proved zk-Rollup viability for DeFi.

Polygon zkEVM (2023 to Present)

Scenario: Polygon launched its zkEVM aiming for close equivalence to Ethereum’s EVM while using ZK proofs.

Implementation: Polygon zkEVM processes Ethereum bytecode through a ZK circuit, targeting Type 2 EVM equivalence over time. Developers can deploy existing Ethereum contracts with minimal modification. The system generates proofs using a custom prover and submits them to Ethereum L1. By 2026, Polygon zkEVM has become a core component of Polygon’s AggLayer, an aggregation layer connecting multiple Polygon chains.

Outcome: Polygon zkEVM attracted major DeFi protocols and holds over $1 billion in TVL as part of the broader AggLayer ecosystem. Its focus on EVM equivalence meant easier developer onboarding compared to non-EVM zk-Rollups like StarkNet, though with some compromises in proof efficiency.

EIP-4844 Impact on zk-Rollups (2024)

Scenario: Ethereum’s Dencun upgrade introduced EIP-4844 (proto-danksharding), creating a new “blob” data type specifically designed to reduce rollup data costs.

Implementation: zk-Rollups began posting their transaction data in blobs instead of calldata, reducing data availability costs by approximately 90%. This made zk-Rollup transactions dramatically cheaper for end users.

Outcome: After EIP-4844, zk-Rollup transaction fees dropped from roughly $0.10 to $0.50 to under $0.01 in many cases. This made zk-Rollups cost-competitive with alt-L1s and accelerated user migration from Ethereum mainnet to Layer 2s.

How Does a zk-Rollup Compare to Other Scaling Solutions?

Featurezk-RollupOptimistic RollupValidiumSidechain
Proof typeZK validity proofFraud proof (challenge)ZK validity proofIndependent consensus
FinalityMinutes (after proof)7 days (challenge period)Minutes (after proof)Seconds
Data availabilityOn-chain (Ethereum)On-chain (Ethereum)Off-chain (committee)On-chain (own chain)
SecurityInherits EthereumInherits EthereumWeaker (off-chain DA)Independent
Withdrawal timeMinutes to hours7 days (without fast bridge)Minutes to hoursMinutes
CostLow (with blobs)Low (with blobs)Very lowVery low
EVM compatibilityVaries (Type 1-4)Full (Type 1)VariesFull
ExampleszkSync, StarkNet, Scroll, TaikoArbitrum, Optimism, BaseImmutable X, StarkExPolygon PoS

Related Terms

  • Rollup: the general category of L2 scaling solutions that bundle transactions for L1 verification.
  • Zero-Knowledge Proof: the cryptographic technique underlying zk-Rollup validity proofs.
  • Layer 2: the scaling category that includes both zk-Rollups and Optimistic Rollups.
  • Optimistic Rollup: the alternative rollup model using fraud proofs instead of validity proofs.
  • Ethereum: the primary Layer 1 blockchain that zk-Rollups scale.
  • Data Availability: the requirement to make transaction data accessible for independent verification.
  • EVM (Ethereum Virtual Machine): the execution environment that zkEVMs aim to replicate with ZK proofs.
  • Sharding: Ethereum’s planned native scaling that complements rollups via danksharding.
  • DApp: decentralized applications that increasingly deploy on zk-Rollups to cut gas costs and speed up transactions.
  • Crypto Regulation: the legal frameworks that govern how zk-Rollup tokens and the DApps built on them are treated across jurisdictions.
  • zkSync: a leading zk-Rollup by Matter Labs using SNARK proofs
  • StarkNet: a major zk-Rollup by StarkWare using STARK proofs with no trusted setup

Frequently Asked Questions About zk-Rollups

What’s the difference between zk-Rollups and Optimistic Rollups? zk-Rollups generate mathematical proofs (ZK proofs) that verify transaction validity, providing immediate finality. Optimistic Rollups assume transactions are valid and use a 7-day challenge period where anyone can submit a fraud proof if they detect an invalid transaction. zk-Rollups offer faster finality but are more complex to build.

Are zk-Rollups as secure as Ethereum? zk-Rollups inherit Ethereum’s security because all state transitions must be verified by an L1 smart contract through validity proofs. As long as Ethereum is secure and the ZK proof system is sound, the rollup’s transactions are guaranteed to be correct. However, sequencer centralization and upgrade key control introduce additional trust assumptions.

Why do some zk-Rollups have their own programming languages? Generating ZK proofs for arbitrary computation is extremely challenging. Some projects, like StarkNet with Cairo, use custom languages optimized for ZK-provable computation, which produces more efficient proofs. Others, like zkSync Era and Polygon zkEVM, accept standard Solidity but compile it through specialized pipelines, accepting some proof efficiency trade-offs for developer familiarity.

Can I withdraw from a zk-Rollup faster than an Optimistic Rollup? Yes. Since zk-Rollups provide mathematical proof of validity, withdrawals to L1 can be processed as soon as the next proof is submitted and verified (typically minutes to hours). Optimistic Rollups require a 7-day challenge window for standard withdrawals, though fast bridge services can provide quicker withdrawals for a fee.

Do zk-Rollups reduce gas fees? Yes, significantly. By executing transactions off-chain and only submitting compressed proofs to L1, zk-Rollups reduce per-transaction costs dramatically. With EIP-4844 blobs, many zk-Rollup transactions cost under $0.01, compared to $1 to $50 or more on Ethereum mainnet during peak demand.

What is a trusted setup, and should I be concerned about it? A trusted setup is a one-time ceremony required by SNARK-based zk-Rollups to generate cryptographic parameters. If the ceremony is compromised (if no participant deletes their secret), invalid proofs could be generated. Modern ceremonies use hundreds of participants; only one needs to act honestly. STARK-based systems (StarkNet) avoid this entirely.

Which zk-Rollup is the most Ethereum-equivalent today? As of 2026, Taiko is the leading Type 1 zkEVM, aiming for full Ethereum equivalence as a “based rollup” that uses Ethereum’s own validators for sequencing. Linea and Scroll have both progressed to Type 2 equivalence, while Polygon zkEVM remains Type 3 and zkSync Era uses a Type 4, non-bytecode-equivalent approach.

Sources

  • Ethereum: zk-Rollups Documentation
  • Vitalik Buterin: An Incomplete Guide to Rollups
  • L2Beat: zk-Rollup Risk Assessment
  • Matter Labs: zkSync Era Documentation
  • StarkWare: STARK Proofs Whitepaper

Latest Resources and Blogs