When the Ethereum mainnet is congested, the fee for a single transfer can reach several dollars. 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 the Layer 2 network Arbitrum. Current price: 0.1294 (24h -10.94%).

What does a Layer 2 network do?

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

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

Two approaches: Optimistic and zero-knowledge:

Optimistic Rollups assume that the results submitted are correct, while allowing a challenge period during which anyone can submit fraud proofs. Arbitrum and Optimism use this approach.

ZK Rollups attach a validity proof (a zero-knowledge proof) to each submission. Once the proof is verified on the mainnet, the result is confirmed as correct. ZKsync and Starknet are examples of this type.

Why withdrawals sometimes take a week:

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

ZK Rollup results are confirmed by proofs, so they don't need such a long challenge period. Withdrawal wait times mainly depend on the pace of proof generation and submission.

What to keep in mind when using Layer 2:

When depositing or withdrawing, check which network you've selected. Assets at the same address are separate across different networks. Selecting the wrong network may make your assets temporarily inaccessible or even unrecoverable.

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

My take:

Understanding Layer 2 networks helps explain why the same operation can cost so much more on one network than another, and helps you avoid choosing the wrong network when depositing or withdrawing. Don't trade with borrowed money—it's easy to let your emotions push you into bad decisions.

Had you heard about this before?