ArEn

Lesson 4 of 135 min read

Blockchain technology · Beginner

Layer 1 and layer 2: why some networks are built on others

A blockchain can only fit so many payments into each block. When many people want to use it at once, they bid against each other with higher fees, and the network gets slow and expensive. Layer 2 networks are the main answer: they do the busy work on top, and lean on the main chain for safety.

Layer 1: the main chain

Layer 1 is the blockchain itself: Bitcoin, Ethereum, and others that keep their own record and run their own consensus. It is the final judge of who owns what. Making it bigger or faster is hard without making it less secure or harder for ordinary computers to run.

Layer 2: the busy street above

A layer 2 network collects many payments, processes them on its own, then writes a short summary back to layer 1. Think of a shop that keeps a running tab all day and pays the bank once in the evening, instead of a bank transfer for every coffee.

  • On Ethereum, layer 2 networks called rollups bundle hundreds of transactions into one entry on the main chain.
  • On Bitcoin, the Lightning Network opens payment channels between people, so small payments are near instant.

Example

The same payment of USD 20 between two friends, on a busy day.

On layer 1On a layer 2
Fee you payUSD 3.50USD 0.05
Time to confirmAbout 1 minuteA few seconds
Where the final record isLayer 1Layer 1, in a summary

Example figures to show the difference. Real fees change with how busy each network is.

The trade offs

  • Each layer 2 has its own rules and its own team. Some are newer and less tested than the chain beneath them.
  • Moving coins between layers, called bridging, takes steps, and bridges have been a favourite target for hackers.
  • Coins on a layer 2 can look like the same coin but live on a different network. Always check which network you are sending on.

In short

  • Layer 1 is the main blockchain and the final record.
  • Layer 2 handles many payments on top and settles them on layer 1, faster and cheaper.
  • Check the network before you send: the same coin on the wrong network can be lost.

Quick quiz

  1. What is layer 1?

  2. Why are payments cheaper on a layer 2?

  3. Before you send coins, what should you always check?