Layer 2: The Scaling Protocols
Optimistic Rollups
Transactions are executed off-chain and posted to Layer 1 in compressed batches. The protocol assumes all transactions are valid by default — an optimistic presumption that grants speed at the cost of a challenge period. During this window, any observer may submit a fraud proof to contest invalid state transitions, a mechanism that transforms trust into verification.
Fraud proofs · Challenge period · 7-day withdrawal
ZK-Rollups
Zero-knowledge rollups compress thousands of transactions into a single validity proof — a cryptographic attestation that every state transition within the batch is mathematically correct. No trust assumptions, no challenge periods. The proof itself is the guarantee, elegant as a theorem and unforgiving as an axiom.
Validity proofs · SNARKs / STARKs · Instant finality
State Channels
Two parties open a channel on Layer 1, then exchange signed state updates off-chain with zero gas costs. Only the final state is settled on-chain — like scholars exchanging private correspondence that need only be archived when the dialogue concludes. Ideal for high-frequency interactions between known participants.
Payment channels · Off-chain updates · Dispute resolution
Validium
A variant of ZK-rollups where transaction data is stored off-chain by a trusted committee rather than on Layer 1. This sacrifices the full data availability guarantee of rollups for dramatically reduced costs — the trade-off between archival completeness and practical accessibility that every library must eventually confront.
Off-chain data · Data availability committee · Cost efficiency