When Ethereum’s mainnet is congested, the fee for a single transfer can be several dollars. Layer 2 networks emerged to solve this problem: they move most of the computation off the mainnet and send only the results and data back to it.

Related token: $ARB quoted at 0.1096 (24h -1.35%).

— What do Layer 2 networks do? —

Layer 2 networks are scaling networks built on top of Ethereum’s 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, the mainnet costs are shared among them, making the fee for each individual transaction much lower. After Ethereum’s Dencun upgrade in March 2024 introduced blob data (EIP-4844), the cost of posting data from Layer 2 to the mainnet dropped significantly further.

— Two approaches: optimistic and zero-knowledge —

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

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

— 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 usually takes around 7 days. Many third-party 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 how quickly proofs are generated and submitted.

— What to watch out for when using Layer 2 —

When depositing or withdrawing, check which network you've selected. 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 heavily on Ethereum mainnet, but the design and maturity of each Layer 2 are different. Before bridging large amounts or using a new network, try it with a small amount first.

— In a nutshell —

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. If you're not familiar with a product, don't commit a large position right away—try it with a small amount first.

If this makes sense, leave a comment. If not, leave a question and keep asking.

These are just opinions for discussion; you are responsible for your own gains and losses.