How a layer 2 works
An L2 runs its own chain, collects transactions into batches and posts them to Ethereum. Anyone can check the batches against Ethereum’s record, which is where the security comes from.[1]
Types of layer 2
Optimistic rollups assume batches are valid and allow a challenge period for fraud proofs. Zero-knowledge (zk) rollups post a cryptographic proof with each batch.[2]
Using a layer 2
You add the network to your wallet with its chain ID and an RPC endpoint, bridge funds from Ethereum and pay gas fees in the L2’s token, usually ETH.
Risks
Bridges are a common target for hacks, and some L2s still rely on a central operator to order transactions. Withdrawals from optimistic rollups through the official bridge can take about a week.[2]
The Bottom Line
An L2 gives you Ethereum-based security at a fraction of mainnet fees. Check which bridge you use and how the network is run.
Educational content, not financial advice.