Overview
The Lightning Network is Bitcoin's most widely adopted Layer 2 scaling solution. It creates a network of bidirectional payment channels that enable users to transact instantly and with negligible fees, while the Layer 1 blockchain serves as the final settlement and dispute resolution layer.
How It Works
The Lightning Network operates through a series of interconnected payment channels. Payments between parties who do not share a direct channel are routed through intermediary nodes using HTLCs (Hash Time-Locked Contracts) and onion routing.
Alice ──ch1──→ Bob ──ch2──→ Carol ──ch3──→ Dave
│ │
└────── Payment routed A → B → C → D ─────┘
Only two on-chain transactions needed:
1. Open channel (funding tx)
2. Close channel (settlement tx)
∞ off-chain payments in between
Key Properties
- Speed: Payments settle in milliseconds rather than waiting for block confirmations
- Low fees: Routing fees are typically fractions of a satoshi
- Privacy: Onion routing means intermediary nodes cannot see the full payment path
- Scalability: Millions of transactions can occur off-chain for every on-chain transaction
Network Growth
The Lightning Network has grown significantly since its initial mainnet deployment in 2018. Thousands of Lightning nodes operate globally, with public channel capacity measured in thousands of bitcoin. Adoption continues through wallets, merchant solutions, and integration with protocols like LNURL and Nostr.
Limitations
Lightning works best for smaller, frequent payments. Large payments may struggle to find routes with sufficient liquidity. Both parties must be online to update channel state, and channels require on-chain transactions to open and close, which involves base-layer fees.