What Is a Layer 2?
How L2s inherit Layer 1 security while processing transactions elsewhere.
Borrowing a Layer 1's security
A Layer 2 is a protocol built on top of a Layer 1 that does most of its transaction processing elsewhere, then periodically checks in with the base layer. It doesn't need its own army of validators from scratch - it leans on the L1's existing security instead.
That's the key difference from just building a brand-new, separate blockchain: a well-designed Layer 2 is only as trustworthy as its connection back to the L1 lets it be.
The basic recipe
A component called a sequencer collects transactions and orders them, much faster and cheaper than the base layer could on its own. Periodically, a summary of what happened - compressed data, and often a proof - gets posted back to the Layer 1.
Once that summary is on the L1, it inherits the L1's guarantees: the data is public, and the L1's own security now backs up the L2's history. Different Layer 2 designs differ mainly in how they prove that summary is honest - the subject of the next lesson.
Why fees drop
Posting to a Layer 1 costs money - it's competing for the same limited block space as everyone else. A Layer 2 batches hundreds or thousands of transactions into one L1 posting, so that cost gets split across everyone in the batch instead of paid individually.
That's the practical payoff for users: transactions that might cost dollars directly on the L1 can cost fractions of a cent on a well-used Layer 2.
Remember
You're still ultimately paying for L1 block space - just your tiny slice of one shared posting instead of a whole transaction's worth.
Concept map · schematic
Execution and Ethereum settlement
A conceptual rollup lifecycle; actual guarantees vary by network.
- 01
Layer 2
Orders and executes transactions on its own chain
- 02
Publish data
Posts commitments and data through L1 transactions or blobs
- 03
Settlement
Applies proof/challenge rules to secure resulting state
Important: A sequencer confirmation is not identical to final settlement on Ethereum.
Self-check
Check your understanding
Choose an answer for each question, then check the results and explanations.
Primary references
Documentation and standards
References added
Official technical references for further verification. A source link is not a guarantee that every earlier editorial sentence has been reverified; provider specifications may also change over time.
The curriculum predates this reference index. These sources are offered to check technical details; no original publication date has been inferred.
- Optimistic rollupsethereum.orgRead source ↗
- EIP-4844 blob transactionsEthereum Improvement ProposalsRead source ↗
Apply what you learned
Related practical guides
Base: What It Is and How Bridging Works
Understand Base as an Ethereum layer 2, why the same wallet address can exist on both networks and what a bridge changes.
Read guide →Base Gas Fees, Explained
Why transactions on Base are usually cheaper than Ethereum mainnet and which costs can still change from one transaction to the next.
Read guide →
Continue learning