When the Ethereum mainnet is congested, the fee for a single transfer can be several dollars. Layer 2 networks were created to solve this problem: they move most computation off the mainnet and send only the results and data back to it.
$ARB and $OP are the governance tokens of Arbitrum and Optimism, respectively. Current price: 0.1141 (24h +4.01%).
【What Do Layer 2 Networks Do?】
Layer 2 networks are scaling networks 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 for submission, the mainnet costs are shared among them, making the fee for each transaction much lower. After Ethereum’s Dencun upgrade introduced blob data (EIP-4844) in March 2024, the cost of writing data from Layer 2 to the mainnet dropped significantly further.
【Two routes: optimistic and zero-knowledge】
Optimistic Rollups assume the 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) with each submission. Once the proof is verified on the mainnet, the result is confirmed as correct. ZKsync and Starknet belong to this category.
【Why withdrawals sometimes take a week】
On Optimistic Rollups, withdrawing assets back to the mainnet through the official cross-chain bridge requires waiting until the challenge period ends, usually about 7 days. Many third-party cross-chain bridges can deliver funds faster, but they come with an additional risk from the bridge’s own smart contracts, as well as fees.
ZK Rollup results are confirmed by proofs, so they don’t require such a long challenge period. Withdrawal wait times mainly depend on how quickly proofs are generated and submitted.
【Things to keep in mind 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. Selecting the wrong network may make your assets temporarily inaccessible, or even impossible to recover.
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 with a small amount first.
【Summary】
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; the stress can push you into making bad decisions.
If you know someone who’s new to this, feel free to share this with them.