THE CRYPTO ENCYCLOPEDIA — VOLUME I

Layer 2 Networks: Scaling Blockchain Beyond the Base Layer

Article 54 of 250 Foundations 1,861 words

Encyclopedia Classification

Category: Blockchain Scaling • Network Architecture • Cryptocurrency Infrastructure

Discipline: Computer Science • Cryptography • Distributed Systems • Economics

Prerequisites

  • Article 53 — Layer 1 Blockchains: The Foundation Networks of Cryptocurrency
  • Article 52 — Blockchain Trilemma
  • Article 51 — Blockchain Consensus Mechanisms

Related Articles

Rollups • Zero-Knowledge Proofs • Lightning Network • Ethereum Scaling • Sidechains • Modular Blockchains • Bridges


WHY LAYER 2 IS CHEAPERL2s bundle many transactions into one L1 settlement — the fee gets split.LAYER 2 — ROLLUPSThousands of cheap, fast transactions batched off the main chainone batch posted to L1LAYER 1 — BASE CHAINSecurity and final settlement — every node verifiesFEE PER TRANSACTIONL1 direct$2 – $50+ when busyOn an L2often under $0.10

Definition

A Layer 2 (L2) network is a secondary blockchain or protocol built on top of a Layer 1 blockchain that processes transactions more efficiently while relying on the Layer 1 for some level of security and settlement.


Beginner Explanation

Layer 1 is the main highway.


When too many cars use the highway:

Traffic slows.


Layer 2 creates additional roads that connect back to the main highway.


Instead of every transaction happening directly on Layer 1:

Layer 2 handles many transactions separately.

Then:

It sends a summary back to Layer 1.


Why Layer 2 Networks Exist

Layer 1 blockchains face limitations.


They must balance:

  • Security
  • Decentralization
  • Scalability

A blockchain cannot simply process unlimited transactions without consequences.


Layer 2 solutions attempt to increase:

  • Speed
  • Capacity
  • Lower fees

without sacrificing the security of the base layer.


The Problem Layer 2 Solves

Imagine Ethereum.


Millions of users want to:

  • Trade
  • Play games
  • Use applications
  • Transfer assets

If every action happens directly on Ethereum:

Demand increases.


Result:

  • Higher fees
  • Slower confirmation
  • Limited accessibility

Layer 2 moves activity elsewhere.


Blockchain Scaling Approaches

There are two major approaches:


Vertical Scaling

Improve one blockchain.


Examples:

  • Faster processing
  • Better hardware
  • Protocol upgrades

Horizontal Scaling

Create additional systems.


Examples:

  • Layer 2 networks
  • Sidechains
  • Rollups

How Layer 2 Works

General process:


Step 1

User submits transaction to Layer 2.


Step 2

Layer 2 processes many transactions.


Step 3

Layer 2 creates a summary.


Step 4

Summary is submitted to Layer 1.


Step 5

Layer 1 provides final settlement.


The Layer 2 Design Goal

A good Layer 2 attempts to provide:


Layer 1 Security

Trust from the base blockchain.


Higher Speed

More transactions.


Lower Costs

Cheaper usage.


Better User Experience

Applications feel similar to traditional apps.


Major Types of Layer 2 Solutions


1. Rollups

The most important modern Layer 2 technology.


Definition

A system that processes transactions outside the main chain and posts transaction data or proofs back to Layer 1.


Two major categories:

  • Optimistic Rollups
  • Zero-Knowledge Rollups

Optimistic Rollups


Definition

Rollups that assume transactions are valid unless someone challenges them.


The name comes from the assumption:

"Transactions are probably correct."


How Optimistic Rollups Work


Transactions occur on Layer 2.

Transactions are bundled together.

A summary is posted to Layer 1.

A challenge period allows disputes.

Final settlement occurs.


Fraud Proofs


Definition

A mechanism allowing someone to prove a transaction was incorrect.


If fraud is proven:

The invalid transaction is removed.


Advantages of Optimistic Rollups

  • Lower fees
  • Strong scalability
  • Mature technology
  • Easier development compatibility

Disadvantages

  • Withdrawal delays
  • Fraud-proof complexity
  • Security assumptions

Examples

Major Optimistic Rollup ecosystems include:

  • Arbitrum
  • Optimism
  • Base

Zero-Knowledge Rollups (ZK Rollups)


Definition

A Layer 2 system that uses cryptographic proofs to verify transactions without revealing all underlying information.


Beginner Explanation

Instead of saying:

"Trust me."

A ZK Rollup says:

"Here is mathematical proof that this is correct."


How ZK Rollups Work


Transactions happen on Layer 2.

The system creates a validity proof.

Proof is sent to Layer 1.

Layer 1 verifies proof.

Transactions are finalized.


Zero-Knowledge Proof


Definition

A cryptographic method allowing someone to prove something is true without revealing the actual information.


Example:

Proving you know a password without showing the password.


Advantages of ZK Rollups

  • Strong security
  • Fast finality
  • Efficient verification
  • Privacy possibilities

Disadvantages

  • More technical complexity
  • Higher development difficulty
  • Proof generation requirements

Examples

ZK technology is used by projects including:

  • zkSync
  • Starknet
  • Polygon zk solutions

Optimistic vs ZK Rollups

Category Optimistic Rollups ZK Rollups
Security Method Fraud proofs Validity proofs
Assumption Transactions valid unless challenged Transactions proven valid
Withdrawals Usually slower Usually faster
Complexity Lower Higher
Technology Maturity More mature Rapidly developing

2. State Channels


Definition

A system allowing users to conduct transactions privately off-chain and only record final results on Layer 1.


Beginner Example

Instead of recording every payment between two people:

Record only:

Opening balance.

Many private transactions.

Final balance.


Example

Lightning Network.


Lightning Network


Overview

A Layer 2 payment network built on Bitcoin.


Purpose:

Enable faster, cheaper Bitcoin transactions.


How Lightning Works

Users create:

Payment channels.


Transactions happen:

Off-chain.


Final settlement occurs:

On Bitcoin.


Benefits

  • Very fast payments
  • Low fees
  • High scalability

Limitations

  • Liquidity requirements
  • User experience complexity
  • Mostly designed for payments

3. Plasma


Definition

An early Layer 2 scaling concept using smaller chains connected to Ethereum.


Historically important.


Modern rollups have largely replaced many Plasma designs.


4. Sidechains


Definition

Independent blockchains connected to another blockchain through bridges.


Important distinction:

Sidechains are not always true Layer 2 systems.


Why?

They often have their own:

  • Validators
  • Security model
  • Consensus

Example

A sidechain may process transactions faster but rely on its own security.


Layer 2 vs Sidechain

Layer 2 Sidechain
Usually inherits Layer 1 security Often independent security
Settles on Layer 1 Separate chain
More connected to base security More independent

Sequencers


Definition

Entities that order transactions on many Layer 2 networks.


Beginner Explanation

A sequencer acts like a traffic controller.


It decides:

Which transactions go first.


Sequencer Responsibilities

  • Collect transactions
  • Order transactions
  • Create batches
  • Submit data to Layer 1

Sequencer Centralization

A major industry discussion.


Many current Layer 2s use centralized sequencers.


Risks:

  • Censorship
  • Downtime
  • Control concentration

Future goal:

Decentralized sequencers.


Data Availability


Definition

The ability for network participants to access transaction data needed to verify blockchain activity.


Important because:

Users need data to verify correctness.


Data Availability Solutions

Include:

  • Ethereum data availability
  • Dedicated availability layers
  • Modular blockchain systems

Layer 2 Security Models

Not all Layer 2 systems are equal.


Experts analyze:


Settlement

Does it rely on Layer 1?


Proof System

Fraud proof or validity proof?


Data Availability

Can users verify activity?


Upgrade Controls

Who can change the system?


Bridge Security

How assets move between layers.


Layer 2 Tokens

Some Layer 2 networks have native tokens.

Purpose:

  • Governance
  • Incentives
  • Ecosystem growth

Important question:

Does the token capture value?


A Layer 2 can be successful while its token performs poorly.


Layer 2 Economics

Value comes from:


User Activity

More users create demand.


Fees

Networks generate revenue.


Ecosystem Growth

Applications attract users.


Security Relationship

Connection to Layer 1 creates value.


The Layer 2 Ecosystem

Major categories:


General Purpose Rollups

Support many applications.


Application-Specific Rollups

Designed for one purpose.


Examples:

  • Gaming
  • Trading
  • Payments

Validiums

Use validity proofs but store data differently.


Volitions

Combine multiple data availability approaches.


Layer 2 and DeFi

Layer 2 networks became important for decentralized finance.


Benefits:

  • Lower trading costs
  • Faster transactions
  • More accessible applications

Layer 2 and Gaming

Gaming requires:

  • High transaction volume
  • Low fees
  • Fast confirmations

Layer 2 solutions help games scale.


Layer 2 and NFTs

Benefits:

  • Cheaper minting
  • Larger user participation
  • More efficient markets

Evaluating Layer 2 Projects

Experts examine:


Technology

What scaling method is used?


Security

Does it inherit Layer 1 security?


Adoption

Are users active?


Developers

Are applications being built?


Economics

Does revenue exceed costs?


Decentralization

Are critical systems centralized?


Common Misconceptions


"Every fast blockchain is Layer 2."

False.

Many are Layer 1 competitors.


"Layer 2 replaces Layer 1."

False.

Layer 2 depends on Layer 1.


"All Layer 2s have the same security."

False.

Security models differ significantly.


"More transactions always mean more value."

False.

Usage must create sustainable economics.


Future of Layer 2


Decentralized Sequencers

Reducing centralization.


Better Interoperability

Making multiple L2s work together.


Shared Liquidity

Improving user experience.


Zero-Knowledge Expansion

More efficient applications.


Modular Blockchain Growth

Separating specialized functions.


Professional Layer 2 Evaluation Checklist


Security

How does it inherit trust?


Scalability

How much does it improve capacity?


Decentralization

Who controls operations?


Economics

How does it capture value?


Ecosystem

Are users and developers growing?


Sustainability

Can it survive long term?


Key Takeaways

  • Layer 2 networks increase blockchain scalability.
  • They process transactions away from the main chain and settle back to Layer 1.
  • Rollups are the dominant Layer 2 technology.
  • Optimistic Rollups use fraud proofs.
  • ZK Rollups use cryptographic validity proofs.
  • Lightning Network is a major Bitcoin Layer 2 example.
  • Not every scaling solution provides the same security.
  • The future of blockchain scaling will likely involve many specialized layers working together.

  • Rollups
  • Zero-Knowledge Proofs
  • Ethereum Scaling
  • Lightning Network
  • Bridges
  • Modular Blockchains
  • Smart Contracts
  • Blockchain Trilemma

Encyclopedia Notes

Layer 2 networks represent one of the most important developments in blockchain evolution.

Early blockchains focused on:

Creating decentralized trust.

Modern blockchains must solve:

How do billions of people use decentralized systems efficiently?

Layer 2 technology attempts to answer that question:

More users.

More applications.

Lower costs.

Without sacrificing the security foundation of the blockchain beneath it.