Why Lightning exists
Bitcoin's base layer settles a limited number of transactions per block, by design, to keep running a node affordable. That makes it excellent for final settlement, but slow and sometimes expensive for buying a coffee. The Lightning Network is a second layer built on top of Bitcoin that makes small payments near-instant and usually costs a tiny fraction of a cent.
How it works, simply
Two parties lock bitcoin into a shared on-chain address, opening a payment channel. They can then send sats back and forth instantly by updating the channel's balance privately, as many times as they like. Only the opening and closing transactions touch the blockchain.
Channels connect into a network, so you can pay someone you don't share a channel with. Your payment is routed through intermediate nodes. Cryptographic locks ensure routing nodes can't steal funds in transit: either the whole payment arrives or none of it does.
Invoices and Lightning addresses
- Invoice: a one-time payment request, often shown as a QR code starting with lnbcβ¦.
- Lightning address: an email-like identifier (name@domain) that generates invoices automatically, making repeat payments easy.
Lightning vs. on-chain
| β‘ Lightning | β On-chain | |
|---|---|---|
| Speed | Seconds | About 10 minutes per confirmation |
| Typical fee | A few sats | Depends on mempool demand |
| Best for | Small, frequent payments, tips, streaming sats | Savings, large transfers, final settlement |
| Wallet | Must manage channels or use a provider | Simple, with hardware wallet support |
Choosing a Lightning wallet
Custodial Lightning wallets are the simplest, but the provider holds your sats, so only keep spending money there. Self-custodial Lightning wallets give you the keys and increasingly automate channel management. Running your own node offers the most control but takes technical effort.
Trade-offs to know
- Receiving may need inbound liquidity, which many modern wallets handle for you.
- Self-custodial Lightning wallets need you to back up both your seed and, in some designs, channel state.
- Very large payments may fail to route. Use on-chain for big amounts.