What Is the Lightning Network?

By The BTC Media | 31 August 2025

What Is the Lightning Network?

The Lightning Network (LN) is a Layer-2 protocol built on top of Bitcoin that enables fast, low-cost payments by moving transactions off-chain and settling the final result on Bitcoin’s base layer.

Key Takeaways

  • Speed & Cost: Payments confirm in seconds and typically cost a fraction of a cent.
  • Scalability: Most activity happens off-chain, reducing load on Bitcoin’s blockchain.
  • Security: Final settlement and dispute resolution rely on Bitcoin’s base layer.
  • Privacy: Uses onion routing; only the sender and receiver know the full payment context.

How Lightning Works (In Short)

  1. Open a channel: Two users create a 2-of-2 multisig wallet and fund it with an on-chain Bitcoin transaction called the funding transaction. This forms a private “tab” between them.
  2. Update balances off-chain: Each payment updates the channel’s state (who owns how much) by exchanging signed commitment transactions. No on-chain transaction is needed for each payment.
  3. Route through the network: If you don’t have a direct channel to the receiver, your payment can hop across multiple channels using HTLCs (Hashed Time-Locked Contracts) and onion routing, reaching the destination trustlessly.
  4. Close the channel: When you’re done, both parties cooperatively close (cheap and clean) or one party force-closes (uses the latest valid state). The final balances settle on Bitcoin L1.

Under the Hood

  • HTLCs: Conditional payments that require revealing a secret (preimage) before a deadline. This ensures all hops either succeed atomically or fail.
  • Onion Routing: Each hop only knows where to forward next, not the full path (improves privacy).
  • Invoices & Addresses: Payments are typically requested with BOLT11 invoices (QR codes). Many wallets also support Lightning Address (e.g., name@domain) and LNURL for simpler user flows.
  • Fees: Each hop charges a tiny fee: a base fee (often 0 sats) + a fee rate per million sats (ppm). Routes are automatically chosen to minimize cost and succeed reliably.
  • Watchtowers: Optional services that can monitor the blockchain and punish cheating attempts during force closes when a user is offline.

Example Flow

Alice → Bob → Carol

  1. Alice has a channel to Bob; Bob has a channel to Carol.
  2. Carol creates an invoice containing a payment hash H.
  3. Alice sends a payment locked by H to Bob; Bob forwards to Carol.
  4. Carol reveals the preimage R such that hash(R) = H to claim the funds.
  5. The revelation of R propagates back, settling each hop and updating balances. No on-chain tx is needed.

Benefits

  • Micropayments: Send amounts as small as a few satoshis, enabling pay-per-use and tipping.
  • Near-Instant: Payments typically finalize within seconds.
  • Low Fees: Great for everyday spending and high-frequency payments.
  • Global & Open: Anyone can run a node and participate; interoperable across wallets that follow BOLT standards.

Limitations & Considerations

  • Channel Liquidity: You need enough outbound (to pay) or inbound (to receive) capacity. Managing liquidity is part of advanced usage.
  • Routing Success: Very large payments may fail if no path has enough liquidity; splitting into parts (MPP) often helps.
  • On-Chain Anchoring: Opening/closing channels requires on-chain fees and confirmation time.
  • Custodial vs. Non-Custodial: Custodial wallets are easiest but involve trust. Non-custodial wallets give you control (and responsibility) over keys and channels.
  • Force Closes: If a channel is force-closed (e.g., peer offline), funds are safe but temporarily locked until the timelock expires.

Getting Started

Option 1: Simple (Custodial) Wallet

Download a popular Lightning wallet, create an account, and start sending/receiving instantly. Easiest for beginners; the provider holds your keys and channels.

Option 2: Non-Custodial Wallet

Use a wallet that manages channels for you (e.g., on-device channels with automated liquidity). You hold your keys and seed phrase—back it up securely.

Option 3: Run Your Own Node

For power users or businesses: run LND, Core Lightning, or Eclair. You’ll manage channels, liquidity, routing policies, and backups; you keep full custody and control.

Tip: For receiving payments reliably, make sure you have inbound liquidity (a peer opens a channel to you, or you use services that provide it).

Fees on Lightning

  • Routing Fees: Tiny fees paid to nodes along the route (base fee + ppm rate). Many nodes set base fee to 0 to encourage flow.
  • On-Chain Fees: Only when opening/closing channels or rebalancing on-chain. Timing matters if the mempool is busy.

Security Best Practices

  • Prefer non-custodial solutions if you want to control your keys; back up your seed phrase offline.
  • Keep your wallet/app updated to the latest version.
  • Consider watchtowers (or wallets that use them) if running your own node.
  • For larger balances, keep savings in cold storage and use Lightning for spending.

Popular Use Cases

  • Tipping & Creator Monetization: Send sats to writers, streamers, and podcasters instantly.
  • Point-of-Sale Payments: Pay at merchants that support Lightning (both online and in-person).
  • Micropayments & APIs: Pay-per-article, per API call, or per minute of content without heavy fees.
  • Remittances: Fast cross-border payments with minimal fees.

FAQ

Is Lightning “layered” Bitcoin or a separate coin?

Lightning uses real bitcoin locked in channels. It’s not a new token—final settlement happens on Bitcoin’s base layer.

What happens if my channel partner disappears?

You can safely force-close the channel and reclaim your funds after a timelock. Watchtowers can help protect you while offline.

Do Lightning payments show up on the blockchain?

No. Only channel open/close transactions are on-chain. Individual Lightning payments are off-chain, improving privacy and scalability.

Disclaimer: This article is for educational purposes only and is not financial advice. Always do your own research and use best security practices.

If you found this article useful, consider supporting us:

BTC QR
LN QR

👉 If you want to see the QR codes, click here.