Let me share a mistake I made: I just didn’t understand this at first.

When the Ethereum mainnet is congested, a single transfer can cost several dollars in fees. Layer 2 networks were created to solve this problem: they move most of the computation off the mainnet and send only the results and data back to it.

$ARB is the governance token of Layer 2 Arbitrum. Currently 0.1171 (24h +0.86%).

▍What does a Layer 2 network do?

A Layer 2 network is a scaling network built on top of the Ethereum mainnet. Transactions are executed on Layer 2 first, then the compressed data and results are submitted to the mainnet.

Because many transactions are bundled together, the mainnet costs are shared among them, making each transaction much cheaper. After Ethereum’s Cancun upgrade introduced blob data (EIP-4844) in March 2024, the cost of writing data from Layer 2 to mainnet dropped significantly again.

▍Two approaches: Optimistic and Zero-Knowledge

Optimistic Rollups assume the submitted results are correct by default, while leaving a challenge period during which anyone can submit a fraud proof. Arbitrum and Optimism use this approach.

ZK Rollups attach a validity proof (a zero-knowledge proof) with each submission. Once the proof is verified on mainnet, the results are confirmed as correct. ZKsync and Starknet belong to this category.

▍Why withdrawals sometimes take a week

On Optimistic Rollups, withdrawing assets to mainnet through the official cross-chain bridge requires waiting for the challenge period to end, which usually takes about 7 days. Many third-party bridges can deliver funds faster, but they add the smart contract risks and fees of the bridge itself.

ZK Rollup results are confirmed through proofs, so they don’t need such a long challenge period. Withdrawal wait times mainly depend on how quickly proofs are generated and submitted.

▍What to watch out for when using Layer 2

When depositing or withdrawing, make sure you select the right network. Assets at the same address are separate across different networks. Choosing the wrong network may make your assets temporarily inaccessible or even impossible to recover.

Layer 2 security relies to a large extent on Ethereum mainnet, but each Layer 2 has its own design and level of maturity. Before bridging large amounts or using a new network, try it out with a small amount first.

▍In closing

Understanding Layer 2 networks helps explain why the same action can cost so much less on one network than another, and helps you avoid choosing the wrong network when depositing or withdrawing. Don’t put all your savings into a single project.

If you have friends who are new to crypto, feel free to share this with them.