Ethereum Layer 2, Explained
Layer 2 networks are where Ethereum activity actually happens now. Rollups, state channels and sidechains, what security each one really inherits, and why a sidechain is not an L2 no matter what its marketing says.
Most Ethereum activity no longer happens on Ethereum. It happens on Layer 2 networks: chains that execute transactions cheaply elsewhere and anchor their results to Ethereum for security. If the base chain is a supreme court, slow and final, the L2s are the lower courts where the actual caseload gets handled. This post sorts out the species, because they differ in exactly the dimension that matters: how much Ethereum security you really inherit.
Rollups: the main event
A rollup executes transactions on its own chain, compresses the results, and posts them to Ethereum. Since EIP-4844 that data goes into cheap blob space. Ethereum stores the evidence; the rollup does the work. This one design cut transaction costs from dollars to cents while keeping disputes resolvable on the base chain. The two families differ in how they prove their results honest.
Optimistic rollups
Results are assumed valid unless challenged. Every batch has a dispute window, typically up to a week, during which anyone can submit a fraud proof and unwind a bad state. The design is simple and EVM-friendly. Arbitrum, Optimism and Coinbase's Base run on it, and it is where the bulk of L2 activity lives. The costs: withdrawals to L1 wait out the challenge window unless a liquidity provider bridges you early, and honesty depends on at least someone actually watching and challenging.
ZK rollups
Every batch ships with a validity proof: cryptographic evidence that the state transition is correct, verified by an Ethereum contract before acceptance. No challenge window, no waiting, no vigilance assumption. Math instead of watchfulness. zkSync, Starknet and Polygon zkEVM lead here. The costs are computational, since generating proofs is expensive, and historical: full EVM compatibility inside a ZK proof was the hard problem, though the gap has closed substantially. Long term, most of the field expects ZK to win. For now, optimistic rollups still hold most of the users.
State channels: the niche
Two parties lock funds in a contract, transact between themselves off-chain as fast as they can sign messages, and settle only the final state on Ethereum. Unbeatable for high-frequency interaction between fixed participants, such as games or streaming micropayments, and irrelevant for general DeFi, since every new counterparty needs a new channel. The concept thrives mainly as Bitcoin's Lightning Network. On Ethereum it stayed a niche.
Sidechains: read the fine print
A sidechain (Polygon PoS is the famous one) is an independent blockchain with its own validators and its own security budget, connected to Ethereum by a bridge. It is cheap and fast, and it is not a Layer 2 in the security sense, however the marketing reads. If its validator set fails or the bridge is exploited, Ethereum cannot help you. Plenty of legitimate activity lives on sidechains. Just know what you are holding: an asset secured by the sidechain, not by Ethereum.
(Plasma, an earlier child-chain design, solved part of this and died of data-availability problems. Rollups are its successors.)
What to check before using one
Not "is it an L2" but four concrete questions. Where does the data go: onto Ethereum (rollup) or somewhere weaker? Who runs the sequencer? Nearly all rollups still have a single operator ordering transactions; it usually cannot steal funds, but it can censor or go down, and decentralizing sequencers is the ecosystem's current homework. What does the bridge assume? Bridges remain crypto's favorite crime scene. And can you exit without the operator's cooperation? The real rollup guarantee is yes.
The direction is not in doubt. Fees measured in cents put activity on L2 to stay, and billions in value already live there. The open contest is between the L2s themselves, and between Ethereum's layered bet and the fast monolithic chains that skipped it. For how the base chain is being rebuilt to serve this world, see the Layer 1 companion post. For the rollup machinery in detail, the rollups deep-dive.