Bitcoin Lightning Network

The Lightning Network is Bitcoin’s primary Layer 2 payment scaling solution, enabling near-instant and near-free peer-to-peer Bitcoin payments by routing transactions through a network of bidirectional payment channels that settle on the Bitcoin base layer only upon channel closure.


Why Lightning Exists

Bitcoin’s base layer processes ~7 transactions per second (TPS) with 10-minute block times. This makes on-chain Bitcoin impractical for:

  • Micropayments (sending $0.01 in coffee)
  • High-frequency transactions
  • Instant settlement requirements

Lightning solves these by moving payments off-chain while retaining Bitcoin’s security as the settlement layer.


How Lightning Channels Work

Opening a channel:

  1. Two parties fund a multi-signature Bitcoin transaction (e.g., Alice funds 0.1 BTC, Bob funds 0.1 BTC)
  2. The transaction is broadcast on-chain — this is the only on-chain cost at this point

Making payments:

  1. Alice and Bob exchange signed commitment transactions updating their balances
  2. These updated states are cryptographically valid but held off-chain
  3. Each new payment instantly updates commitments — no on-chain transaction needed

Closing a channel:

  1. Either party broadcasts the latest commitment transaction to Bitcoin
  2. Final balances are settled on-chain

Routing payments:

  • Alice doesn’t need a direct channel to Charlie — she routes through Bob if Bob has a channel with Charlie
  • The network routes payments through multi-hop paths, with each hop taking a tiny fee

Lightning Statistics

Metric Value (approximate, varies)
Network capacity ~4,000–5,000 BTC
Public channels ~60,000+
Nodes ~15,000+
Avg fee Sub-satoshi for most payments

Use Cases

  • El Salvador: Lightning integrated into national Bitcoin payment system (Chivo wallet)
  • Strike: Payment app using Lightning for instant Bitcoin/USD transfers
  • Nostr/Zaps: Lightning micropayments sent alongside social media posts
  • Gaming: Instant, no-fee microtransaction economies
  • Streaming sats: Podcast apps that stream fractions of a cent per listened minute

Limitations

  • Liquidity management: Channel capacity must be allocated in advance
  • Routing complexity: Large payments may fail to route in fragmented networks
  • Always-online requirement: Receiving payments requires being online or using a watchtower
  • Not ideal for large infrequent payments: On-chain is simpler for large, rare transactions

Sources

  • Lightning Network whitepaper: lightning.network
  • 1ml.com: Lightning Network statistics
  • LND and CLN documentation