L2 / WIKI / BLING

layer2.wiki

The rebellious encyclopedia of Layer-2 scaling

A single glittering pillar of knowledge for the chains above the chain: rollups, channels, proofs, bridges, sequencers, settlement, and the weird economic magic that makes blockspace feel abundant.

chapter 01

What Are Layer-2 Solutions?

Layer-2 solutions are protocols built on top of existing blockchains to improve scalability, reduce transaction costs, and increase throughput without throwing away the security guarantees of the base layer. Layer-1 is the marble palace foundation; Layer-2 is the flashy aqueduct system moving value through every room.

They process transactions off-chain, in compressed batches, or inside purpose-built execution environments, then periodically commit proofs, transaction data, or state roots back to the main chain. The result is thousands of operations where the base layer could only afford dozens.

The Scaling Problem

Tap to flip the rhinestone slab.

Why We Need L2

Ethereum mainnet prioritizes settlement and security. L2s move frequent execution elsewhere, then anchor outcomes back to that secure base.

chapter 02

The Architecture

Layer-2 is not one thing. It is a family of scaling patterns with different assumptions about data, withdrawal time, proof systems, operator trust, and application design. The best way to understand the stack is to look at what each system borrows from the base layer.

Optimistic Rollups

Assume batches are valid unless a fraud proof challenges them during a dispute window.

ZK-Rollups

Generate validity proofs that let L1 verify execution with cryptographic compression.

State Channels

Participants transact privately off-chain, then settle final state on-chain.

Plasma

Child chains commit roots to L1 and depend on exits when operators misbehave.

Layer 1 — Ethereum Mainnet settlement
chapter 03

Rollups: The Dominant Paradigm

If Layer-2 is a family, rollups are the overachieving eldest child. They execute transactions away from mainnet while publishing enough information back to Layer-1 for the system to remain inspectable, reconstructable, and economically tied to Ethereum security.

This property is called data availability. It is what separates rollups from older models that required users to trust operators not to hide data. Rollups make off-chain execution accountable to on-chain evidence.

optimistic

Trust, then challenge

Fraud proofs defend the chain by letting watchers dispute invalid claims.

zero knowledge

Prove, then accept

Validity proofs compress computation into math that L1 can quickly verify.

chapter 04

The Economics of Scaling

A simple mainnet transfer can become expensive during congestion. The same transfer on a rollup can cost a tiny fraction because many users share the cost of one settlement footprint. L2 economics turn the nightclub bouncer of gas fees into a glitter stamp at the door.

That is not merely cheaper DeFi. It enables on-chain games, social actions, identity updates, micro-payments, collectible minting, and machine-to-machine transactions that fail when every click costs more than lunch.

100×fee compression potential
1shared batch posted to L1
new app categories unlocked
chapter 05

The Future: A Multi-Layer World

The endgame is not that every user becomes a bridge analyst. The endgame is that applications route intent across the cheapest, fastest, safest execution venue while users simply experience instant settlement and sane costs.

Layer-3s, appchains, shared sequencing, modular data availability, and cross-rollup messaging are already turning the stack into a fractal architecture. The marble palace grows new floors; the aqueducts branch into capillaries.

The Modular Endgame

Execution, data, consensus, and settlement become separate shiny layers.

Layer-2 is the first unbundling

Once execution can leave L1 while still inheriting its trust anchor, the rest of the blockchain stack becomes programmable infrastructure.