A Layer 2 (L2) rollup is a separate blockchain that executes transactions off Ethereum mainnet (Layer 1) but posts compressed transaction data or proofs back to Ethereum for security. This gives users Ethereum-level security guarantees while reducing fees by 10-100x and increasing throughput, because the expensive verification work is shared across many transactions batched together.
What Is an L2 / Rollup?
3 min read
The short version
Think of Ethereum as a courthouse that is very secure but slow and expensive. A rollup is like a trusted local office that handles paperwork quickly and cheaply, then sends a stamped summary back to the courthouse for official recording. If anyone cheats at the local office, the courthouse can reverse it. You get speed and low cost while keeping the courthouse's security backing.
How It Works
Rollups batch hundreds or thousands of transactions, execute them on the L2 chain, then submit a compressed summary to Ethereum L1. There are two types: (1) Optimistic rollups (Arbitrum, Optimism, Base): assume transactions are valid by default. Anyone can challenge a result within a dispute window (7 days) by submitting a fraud proof. If fraud is proven, the invalid batch is reverted on L1. (2) ZK rollups (zkSync, StarkNet, Polygon zkEVM, Scroll): generate a cryptographic validity proof (ZK-SNARK/STARK) mathematically proving all transactions in the batch are valid. L1 verifies the proof in a single operation. No dispute window needed, correctness is mathematically guaranteed immediately. Both types inherit Ethereum's security: even if the L2 operator is malicious, users can always withdraw funds back to L1 using the data posted on-chain.
Swapping tokens on Arbitrum vs. Ethereum mainnet
You want to swap 500 USDC for ETH on Uniswap. On Ethereum mainnet: gas cost ~$15 at 25 gwei base fee for a 200k gas swap. Confirmation: ~12 seconds. On Arbitrum: same Uniswap interface, same smart contract logic, but gas cost ~$0.10-$0.30. Confirmation: ~0.3 seconds. The trade executes on Arbitrum's chain, and the batch containing your transaction is posted to Ethereum L1 within hours. Your funds inherit Ethereum security once the batch is finalized. To start: bridge ETH or USDC from mainnet to Arbitrum (one L1 transaction, ~$5), then transact cheaply on Arbitrum indefinitely.
What People Get Wrong
L2s are separate blockchains with separate security
Genuine rollups derive their security from Ethereum L1. Unlike sidechains (which have their own validator sets), rollups post data to Ethereum and can be verified or challenged there. If the L2 operator disappears, your funds can still be recovered from L1.
All L2s are the same
There are significant differences: optimistic vs. ZK proofs, centralized vs. decentralized sequencers, different bridging times (7 days for optimistic rollup withdrawals vs. minutes for ZK), and different EVM compatibility levels. Research the specific L2 before committing large amounts.
You cannot use L2s with hardware wallets
L2s are just EVM-compatible chains. Connect your Ledger to MetaMask, switch the network to Arbitrum or Optimism, and sign transactions exactly as you would on mainnet. The hardware wallet does not know or care which network you are using.
Keep Reading
Sources & Further Reading
- L2Beat
Independent risk assessment and comparison of all Ethereum Layer 2 rollups
- Ethereum.org: Layer 2
Official overview of Layer 2 scaling solutions and how to use them
- Arbitrum Portal
Official bridge for moving assets to the largest optimistic rollup
Questions People Also Ask
- How do I move funds to an L2?
- Use the official bridge for that L2 (bridge.arbitrum.io, app.optimism.io/bridge) or a third-party bridge aggregator like Across or Stargate. You send a transaction on L1 depositing funds, and they appear on L2 within minutes (varies by bridge).
- Are my funds safe on an L2?
- On genuine rollups (Arbitrum, Optimism, zkSync), yes, funds are ultimately secured by Ethereum. The key risk: if the sequencer is centralized and goes offline, you may have delays withdrawing (but cannot lose funds). Check L2Beat.com for risk assessments of each L2.
- Why does it take 7 days to withdraw from optimistic rollups?
- The 7-day dispute window allows anyone to submit a fraud proof if a batch was invalid. After 7 days with no successful challenge, the withdrawal is finalized. Third-party liquidity providers offer instant withdrawals for a small fee by fronting the funds.