Quick answer: A Layer 2 is a network built on top of a main blockchain (the Layer 1) to process transactions faster and more cheaply, while still relying on the main chain for security. On Ethereum, most Layer 2s are "rollups" that bundle many transactions and post a compressed record to Ethereum. On Bitcoin, the best-known Layer 2 is the Lightning Network for fast, low-cost payments.

Key takeaways

  • Layer 1s like Bitcoin and Ethereum prioritize security and decentralization, which limits speed.
  • Layer 2s move most activity off the main chain and settle the results on it.
  • Rollups come in two main types: optimistic rollups and zero-knowledge (ZK) rollups.
  • Bridging funds between layers introduces extra risks and requires attention to the network you use.

Why do blockchains need Layer 2?

Blockchains face a "trilemma": it is hard to be secure, decentralized and highly scalable at the same time. When demand rises on a Layer 1, fees go up and confirmation becomes slower. Instead of making the main chain less secure, Layer 2s take the load off it.

How do rollups work?

  1. Users send transactions on the Layer 2.
  2. The Layer 2 executes them quickly and cheaply.
  3. Transactions are bundled ("rolled up") and compressed.
  4. A summary and proof data are posted to the Layer 1, which secures the final result.

Ethereum's March 2024 "Dencun" upgrade introduced a cheaper way for rollups to post data, which significantly reduced Layer 2 fees.

Optimistic vs ZK rollups

FeatureOptimistic rollupsZK rollups
How validity is ensuredAssumed valid unless someone submits a fraud proofA cryptographic validity proof is posted for each batch
Withdrawal to Layer 1Can involve a challenge period of several days via the official bridgeUsually faster once the proof is verified
ExamplesArbitrum, Optimism, BasezkSync, Starknet, Linea
Main trade-offSimpler and matureMore complex technology

Bitcoin's Lightning Network

The Lightning Network creates payment channels between users. Many small payments happen instantly inside these channels, and only the opening and closing are recorded on the Bitcoin blockchain. It is well suited to small, frequent payments.

What should users watch out for?

  • Choose the correct network when withdrawing from an exchange—sending to the wrong network is a common and costly mistake.
  • Bridge risk: Bridges hold large amounts of funds and have been targeted by hackers. Prefer official or well-established bridges.
  • Decentralization stage: Some Layer 2s still rely on centralized operators. Their security may differ from the main chain.
  • Gas tokens: You usually need a small amount of the network's gas token (often ETH) to transact.

Frequently asked questions

Is Layer 2 a different cryptocurrency?
Not necessarily. Many Ethereum Layer 2s use ETH for fees; some also have their own governance tokens.

Are Layer 2s as safe as Ethereum?
They inherit security from Ethereum to different degrees, depending on their design and maturity.

What is the difference between Layer 1 and Layer 2?
Layer 1 is the base blockchain that provides final security; Layer 2 is built on top to handle transactions faster and cheaper.


Understand networks, bridges and fees before you move funds with the Iqra Crypto learning packages. This article is educational content only and is not financial advice.