Why Layer 2 Exists: Bitcoin's Deliberate Constraints
Bitcoin's base layer - sometimes called Layer 1 - processes roughly 7 transactions per second and produces a new block only about every 10 minutes. This is intentional. Each node on the network stores and validates every transaction ever made, which means throughput is capped by what every participant in the world can reasonably run. Increasing the block size to fit more transactions would push node requirements up, centralizing the network.
The result is a system that is extremely hard to corrupt or shut down, but not designed for small, rapid-fire purchases. If you want to buy a cup of coffee with Bitcoin at Layer 1, you'd wait 10 minutes for a confirmation and pay several dollars in fees. Layer 2 is the answer to that problem.
The Lightning Network: Bitcoin's Primary Layer 2
The Lightning Network is by far the most widely deployed Bitcoin Layer 2. It works by allowing two parties to open a payment channel by locking some bitcoin in a multisig address on Layer 1. Once the channel is open, those two parties can send payments back and forth as many times as they want, instantly and for near-zero fees. None of those in-channel transactions touch the Bitcoin blockchain.
When either party wants to close the channel, they broadcast the final balance to the Bitcoin blockchain and it settles on Layer 1. The blockchain only ever sees two transactions: the channel open and the channel close. Everything in between happens off-chain. Through a network of interconnected channels, you can route a Lightning payment to anyone on the network even if you don't have a direct channel with them.
Other Bitcoin Layer 2 Examples
The Lightning Network dominates, but it is not the only Layer 2 built on Bitcoin:
- Liquid Network - A federated sidechain by Blockstream aimed at exchanges and traders. It enables faster settlement and confidential transactions, and uses a peg mechanism to move bitcoin between the main chain and the Liquid sidechain.
- RSK (Rootstock) - A sidechain that adds Ethereum-compatible smart contract functionality to Bitcoin. RSK uses merge-mining, meaning Bitcoin miners can simultaneously mine RSK blocks without additional hardware.
- Statechains - An experimental protocol that transfers ownership of UTXOs off-chain by transferring private keys through a trusted server, without any on-chain transaction per transfer.
How Layer 2 Inherits Bitcoin Security
Layer 2 protocols ultimately settle on Bitcoin's blockchain. When a Lightning channel closes, the final balances are recorded on Layer 1 using the same proof-of-work-secured, globally distributed blockchain that protects all Bitcoin transactions. The security guarantee at settlement is identical to any other on-chain transaction.
This is a meaningful distinction from alternative blockchains. Lightning doesn't create a parallel system with its own security assumptions for final settlement. It piggybacks on Bitcoin's security - the most battle-tested distributed system in existence.
The Difference Between L1 Settlement and L2 Transactions
A Layer 1 transaction is final. It gets confirmed by miners, included in a block, and becomes a permanent part of the longest chain. No counterparty can reverse it. A Layer 2 transaction, by contrast, is a promise - backed by bitcoin locked on Layer 1 - but it doesn't hit the chain until the channel closes.
This means Layer 2 transactions have different security properties. They're fast and cheap but they carry assumptions: both parties must be capable of monitoring the channel and closing it if one party tries to submit a fraudulent state. For most everyday payment use cases, the convenience tradeoff is well worth it. For high-value, final settlement, the Bitcoin base layer remains the gold standard.