ZK-Rollup

Layer 2 Updated May 2026

What is a ZK-Rollup?

A ZK-rollup (zero-knowledge rollup) is a Layer 2 scaling solution that batches transactions off-chain and posts them to Ethereum with a cryptographic proof of validity. Unlike optimistic rollups (which assume transactions are valid and allow challenges), ZK-rollups mathematically prove that every transaction is correct before it’s finalized.

ZK-rollups offer:

  • Instant finality: Once the proof is verified on L1, transactions are final
  • No challenge window: No 7-day withdrawal delay like optimistic rollups
  • Higher security: Mathematical proof beats economic assumption
  • Lower data costs: Only the proof and state diff are posted to L1

Major ZK-rollups include zkSync Era, Starknet, Scroll, Linea, and Polygon zkEVM. Combined, they hold $3+ billion in TVL as of 2025.

How ZK-Rollups Work

The Three-Step Process

  1. Execute off-chain: Users submit transactions to the ZK-rollup sequencer, which processes them on the L2
  2. Generate proof: A “prover” generates a zero-knowledge proof (STARK or SNARK) that all transactions in the batch are valid
  3. Verify on-chain: The proof is posted to Ethereum L1, where a verifier contract checks it. If valid, the state update is finalized.
Users → Sequencer (executes txs) → Prover (generates ZK proof) → L1 Verifier (checks proof) → Final!

The Key Difference: Validity Proofs vs Fraud Proofs

FeatureZK-Rollup (Validity Proof)Optimistic Rollup (Fraud Proof)
AssumptionProve every batch is validAssume batches are valid until challenged
Proof typeCryptographic proof of correctnessChallenge with fraud proof if invalid
FinalityMinutes (proof verification)7 days (challenge window)
WithdrawalFast (proof verified)7 days (challenge window)
L1 gas costHigher (proof verification)Lower (only state data)
MaturityNewer, less battle-testedMore mature, widely adopted

How Zero-Knowledge Proofs Work (Simplified)

A ZK-proof lets you prove “I know something” without revealing what you know. In the context of rollups:

  • Statement: “All 10,000 transactions in this batch are valid”
  • Proof: A compact mathematical proof (~100 KB) that can be verified quickly (~500K gas)
  • Verification: The L1 contract checks the proof. If it passes, all 10,000 transactions are confirmed valid

The proof is succinct: verifying it is exponentially faster than re-executing all transactions.

Major ZK-Rollup Networks

zkSync Era (Matter Labs)

FeatureDetails
TypezkEVM (Type 2 — EVM-equivalent)
TVL$1B+
LanguageSolidity (native EVM compatibility)
Key featureAccount abstraction native, Paymasters
TokenNone yet (ZK token expected)

zkSync aims for near-full EVM compatibility while using ZK proofs for security.

Starknet (StarkWare)

FeatureDetails
TypeCairo VM (not EVM-compatible natively)
TVL$500M+
LanguageCairo (custom, optimized for ZK)
Key featureHighest throughput via CairoVM
TokenSTRK

Starknet uses its own VM (CairoVM) which is optimized for STARK proof generation. It sacrifices EVM compatibility for performance.

Scroll

FeatureDetails
TypezkEVM (Type 1 — EVM-equivalent at bytecode level)
TVL$200M+
LanguageSolidity (byte-level EVM compatibility)
Key featureTrue EVM equivalence
TokenSCR

Scroll’s goal is byte-level EVM compatibility — existing Ethereum smart contracts work without any modification.

Polygon zkEVM

FeatureDetails
TypezkEVM (Type 2)
TVL$100M+
Key featurePart of Polygon’s multi-chain strategy
TokenPOL (formerly MATIC)

Linea (ConsenSys)

FeatureDetails
TypezkEVM (Type 2)
TVL$500M+
Key featureBacked by ConsenSys (MetaMask, Infra)
TokenNone

SNARKs vs STARKs

Two types of ZK proofs are used in rollups:

FeatureSNARK (Succinct Non-interactive ARgument of Knowledge)STARK (Scalable Transparent ARgument of Knowledge)
Trusted setupRequired (controversial — if setup compromised, proofs can be faked)Not required (transparent)
Proof sizeSmall (~200 bytes)Larger (~50-100 KB)
VerificationFastSlower than SNARK
Post-quantumVulnerable to quantum attacksResistant to quantum attacks
Used byzkSync, Aztec, older protocolsStarknet, Polygon Miden

EVM Compatibility Tiers

Vitalik Buterin defined 5 types of zkEVMs:

TypeDescriptionEVM CompatibilityExamples
1Fully Ethereum-equivalent100%Scroll (at L1 level)
2EVM-equivalent~99%zkSync, Polygon zkEVM
2.5EVM-equivalent with gas cost changes~95%Some optimizations
3Almost-EVM-equivalent~90%Early Polygon zkEVM
4High-level-language equivalent~70%Starknet (Cairo VM)

Lower types are faster (cheaper proof generation) but less compatible with existing Ethereum tools and contracts.

Advantages of ZK-Rollups

  1. Fast withdrawals: No 7-day waiting period. Once the proof is verified, funds are available on L1.
  2. Higher security guarantee: Validity proofs mathematically prove correctness — no reliance on honest challengers.
  3. Data compression: Only state differences and proofs are posted to L1, not full transaction data.
  4. Privacy potential: ZK proofs can hide transaction details while proving validity (used by Aztec, zkPass).

Challenges of ZK-Rollups

  1. Prover complexity: Generating ZK proofs is computationally expensive. Specialized hardware (GPUs, FPGAs, ASICs) is needed.
  2. Higher L1 costs: Verifying proofs on Ethereum costs more gas than optimistic rollup’s data posting.
  3. Less mature: The technology is newer than optimistic rollups, with less battle-testing.
  4. Centralized provers: Most ZK-rollups currently use centralized provers. Decentralized proving networks are in development.

Frequently Asked Questions

Q: Are ZK-rollups safer than optimistic rollups? A: In theory, yes — validity proofs provide stronger guarantees. In practice, both are secure for most users. The main practical difference is withdrawal speed (ZK = fast, Optimistic = 7 days).

Q: Which is cheaper: ZK or optimistic rollups? A: It depends. Optimistic rollups have lower L1 data costs. ZK-rollups have higher proof verification costs but better data compression. As proving technology improves, ZK costs are decreasing rapidly.

Q: Will ZK-rollups replace optimistic rollups? A: Possibly long-term. Vitalik’s roadmap favors ZK technology. But optimistic rollups (Arbitrum, Optimism, Base) have massive adoption and liquidity that won’t switch overnight.