Layer 2¶
Layer 2 is Ethereum's answer to the same scaling tension Bitcoin's Bitcoin Scaling section covered: keep the base chain deliberately constrained so running a full node stays accessible, and push transaction throughput onto separate systems that inherit L1's security through specific, verifiable mechanisms rather than a fresh trust assumption. This section covers those mechanisms directly, including several dated, sourced facts about where the major rollups actually stand today, not just how they're designed to work eventually.
What you need to know first¶
Gas, Proof of Stake, and Zero-Knowledge Proofs. This section assumes familiarity with Ethereum's account and gas model, and builds directly on the general zero-knowledge proof concepts already covered in cryptography.
Chapters¶
- L1 vs. L2: why Ethereum didn't just raise L1's own throughput instead
- Rollups: the sequence-batch-verify structure every rollup design shares
- Optimistic Rollups: why withdrawals take about a week, worked through directly
- Fraud Proofs: interactive bisection, narrowing a dispute to one cheap-to-verify step
- ZK Rollups: proof instead of assumption, and the real cost of proof generation
- Validity Proofs: what statement a proof actually establishes, and what a zkEVM circuit has to reproduce
- Sequencers: the current, dated fact that every major rollup's sequencer is centralized
- Data Availability: why availability and correctness are separately enforced guarantees
- Blobs: Ethereum's dedicated, cheap, temporarily-retained data type for rollup batches
- EIP-4844: the blob base fee formula, derived and verified with real numbers
- Bridges: the trust spectrum from federated multisigs to trust-minimized light clients
- Canonical Bridges: why a rollup's own bridge reuses its existing verification mechanism
- Cross-Chain Messaging: LayerZero's configurable verifiers and Wormhole's 19-guardian network
- Arbitrum: Nitro, and the real gap between theoretical and actually-deployed permissionless fraud proofs
- Optimism: the OP Stack, the Superchain vision, and where that vision actually stands
- Base: Coinbase's L2, and a dated, sourced example of measuring decentralization directly
- zkSync: EVM-compatible but not EVM-equivalent, with native account abstraction
- StarkNet: Cairo, STARKs specifically, and an independently designed account model
Next¶
Continue to Security, where the trust boundaries this section has drawn carefully (what a sequencer can and can't do, what a bridge's specific verification mechanism actually guarantees) become the starting point for understanding how real exploits have broken those boundaries in practice.