πŸ”
Home Β· Articles Β· Lightning
Pillar Guide Β· Lightning Β· Layer 2

The Lightning Network: a complete guide

Bitcoin's base layer is built for settlement, not coffee-sized payments. The Lightning Network is the layer that makes instant, low-fee Bitcoin payments practical. This guide explains channels, routing, and nodes from first principles, then links to our data-driven studies.

PillarLightningPayments

What this guide covers

  1. Why Lightning exists
  2. Payment channels
  3. Routing across the network
  4. Wallets: custodial vs not
  5. Running a node
  6. Trade-offs & limits
  7. Deep dives

Why Lightning exists

The Bitcoin base layer deliberately limits how many transactions fit in each block, because every full node must store and verify them forever. That makes the base layer excellent for final settlement but poorly suited to high-volume, small payments. Lightning solves this by moving most payments off-chain, using the base layer only to open and close channels β€” so you get Bitcoin's security with payments that are fast and cheap.

Payment channels: the core idea

Two parties lock funds into a shared, 2-of-2 multisig address β€” that is a payment channel. They can then update the balance between them an unlimited number of times by exchanging signed transactions, without broadcasting each one. Only the opening and the final balance ever hit the blockchain. Because each update is a valid Bitcoin transaction either party can publish, neither can cheat without the other being able to claim the funds.

Routing: paying people you have no channel with

You do not need a direct channel with everyone you pay. Lightning routes payments across a path of connected channels β€” if you have a channel with A, and A has one with B, you can pay B through A. The payment only succeeds if every hop has enough liquidity in the right direction. This is why routing can fail (harmlessly) and why node operators actively balance their channels. We measured this in the real world in our 90-day routing study.

Wallets: custodial vs self-custodial

The same key-security discipline from our self-custody guide applies to Lightning balances.

Running your own node

A personal Lightning node lets you route your own payments, host channels, and (optionally) earn routing fees. The main work is liquidity management: opening channels to well-connected peers and keeping inbound and outbound balance healthy so payments succeed. It is the most hands-on way to use Lightning and the best way to understand it.

Honest trade-offs

Lightning is powerful but not magic. Channels require on-chain transactions (and fees) to open and close; liquidity must be managed; and watchtower or always-on requirements exist for fully trustless operation. For an evidence-based take on whether Lightning is a real payments layer or still niche, read our capacity analysis.

Go deeper

Bitcoin Penguins is an independent research publication β€” not a token. Educational content only; nothing here is financial advice. Always DYOR.

Educational content only. Not financial advice.