The Scaling
Compendium
A visual journal exploring blockchain's second layers — rollups, channels, sidechains, and the elegant engineering that lets blockchains breathe.
A visual journal exploring blockchain's second layers — rollups, channels, sidechains, and the elegant engineering that lets blockchains breathe.
Blockchains face a fundamental tension: decentralization demands that every node verify every transaction, but this very redundancy limits throughput. Layer 2 protocols resolve this by moving computation off the main chain while inheriting its security guarantees.
Think of Layer 1 as the foundation of a building — solid, immovable, trustworthy. Layer 2s are the floors built atop it: they extend capacity upward without compromising the structural integrity below.
"The best scaling solution is one the user never notices."
By batching hundreds or thousands of transactions into a single on-chain proof, Layer 2s achieve orders-of-magnitude improvements in cost and speed — turning a slow, expensive settlement layer into a fast, affordable execution environment.
Rollups are the dominant Layer 2 paradigm. They execute transactions off-chain, then post compressed transaction data back to Layer 1. The key insight: data availability on the base layer means anyone can reconstruct the rollup state independently.
Two families exist, distinguished by how they prove correctness:
Both approaches dramatically reduce gas costs while maintaining the security guarantees of the underlying chain. The tradeoff lies in latency versus computational overhead.
Before rollups dominated the conversation, two earlier Layer 2 paradigms laid the groundwork: state channels and Plasma chains.
State channels allow two parties to transact privately off-chain, only touching the base layer to open and close the channel. The Lightning Network on Bitcoin and Raiden on Ethereum are canonical examples. They offer instant finality and near-zero fees — but only for participants in the channel.
Plasma introduced the idea of child chains that periodically commit state roots to the parent chain. While theoretically elegant, Plasma struggled with the data availability problem — users needed to monitor the chain to detect fraud, creating usability challenges that rollups later solved.
"Each generation of Layer 2 technology stands on the shoulders of the last."
The Layer 2 landscape is converging toward a modular future. Rather than monolithic blockchains that do everything, we're seeing specialization: execution layers, data availability layers, settlement layers, and sequencing layers — each optimized for its role.
Shared sequencing promises atomic composability across rollups. Data availability sampling (DAS) will allow light nodes to verify data availability without downloading entire blocks. Recursive proofs enable proofs-of-proofs, creating fractal scaling where Layer 3s settle on Layer 2s.
The end state is a world where users interact with applications seamlessly, never aware of which layer they're on. The infrastructure becomes invisible — as it should be.
"The future of blockchains is layers all the way down — and up."