← Back to all topics

Lightning Network

Bitcoin's "Layer 2" for instant, cheap payments

The Problem Lightning Solves

Bitcoin's base layer (Layer 1) processes ~7 transactions per second globally. That's great for security, but not for buying coffee. Waiting 10+ minutes and paying $1+ in fees doesn't work for small payments.

⛓️ On-Chain (Layer 1)
  • ~7 transactions/second globally
  • 10-60 minute confirmation
  • Fees vary ($0.10 to $50+)
  • Every TX recorded on blockchain
  • Best for: large, infrequent payments
⚡ Lightning (Layer 2)
  • Millions of TX/second possible
  • Instant (milliseconds)
  • Near-zero fees (~1 sat)
  • Only opening/closing on-chain
  • Best for: small, frequent payments

How It Works

🍺 Think: A Bar Tab

Instead of paying for each drink separately (on-chain transaction), you open a tab. Throughout the night, you and the bartender track what you owe. At the end, you settle the tab with one payment. Lightning channels work the same way — you only touch the blockchain when opening or closing the channel.

Payment Channels

A Lightning channel is like a shared account between two parties. Both put Bitcoin in, and they can instantly send it back and forth without touching the blockchain.

Alice Channel Capacity: 1,000,000 sats Bob
500k
500k

Each payment is instant and free. Only opening/closing the channel requires an on-chain transaction.

Routing: Paying Anyone

You don't need a direct channel with everyone. Lightning finds a path through other people's channels.

You
Node
Node
Shop
How routing works: Your payment "hops" through multiple channels. Each hop takes a tiny fee (often less than 1 satoshi). The payment is trustless — intermediate nodes can't steal your money because of clever cryptography (HTLCs).
~16,000
Public Nodes
~75,000
Public Channels
~5,000 BTC
Network Capacity

Lightning vs On-Chain

Aspect On-Chain Lightning
Speed 10-60 minutes Instant (~1 second)
Cost $0.10 - $50+ < $0.01 typically
Minimum amount ~$0.50 (dust limit + fees) 1 satoshi (~$0.0004)
Privacy Public forever Only parties involved know
Requires Just a wallet Channel or custodial wallet
Best for Large amounts, cold storage Small, frequent payments

Getting Started with Lightning

Custodial Wallets (Easiest)

Someone else manages the channels. Simple but requires trust.

Non-Custodial Wallets (Sovereign)

You control the keys. More setup, but trustless.

Pro tip: Start with a custodial wallet to learn, then graduate to non-custodial once you understand how it works.

Common Questions

Is Lightning "real" Bitcoin?

Yes. Lightning channels are secured by real Bitcoin locked on-chain. You can always close your channel and get your Bitcoin back on Layer 1.

What if the other party goes offline?

You can still close the channel unilaterally after a timelock period. The latest agreed balance is enforced by the blockchain.

Can Lightning scale to billions of users?

The technology can handle the transactions, but onboarding billions of users with their own channels requires solutions like channel factories, which are still being developed.

Lightning is still evolving. It works well today for small amounts, but don't put your life savings on Lightning. Use it for spending money, not long-term storage.