🗺️ Routing: Paying Someone You've Never Met

No direct channel needed — just a connected path.

Lesson 3 of 5 in The Lightning Network · about 3 minutes · free

Start the interactive lesson →

No tab with everyone

You don't need a personal tab with every coffee shop on Earth to buy a coffee.

Lightning payments work the same way.

Hopping through the network

A payment can "hop" across a chain of already-open channels to reach someone you don't have a direct channel with —

as long as a connected path exists between you.

Your wallet finds that path. You just press send.

The trick that makes it safe

Each hop is locked with a cryptographic secret — a Hash Time-Locked Contract, or HTLC.

This guarantees the entire payment completes across every hop, or none of it does.

Nobody in the middle can intercept or steal funds along the way. There's no "the money made it three hops and vanished" state.

No trust required

You don't need to trust the strangers routing your payment.

The math guarantees it either fully succeeds or fully fails — there's no in-between state to exploit.

Same pattern as the rest of Bitcoin: replace "trust me" with something you can verify.

Try it: Trace the route

You have no channel with the café. Find a path through people who do.

Tap your way from your wallet to the café through a network of open channels — only real hops are accepted. There's more than one valid route, and every hop is locked by the same secret, so the whole payment settles or none of it does. Open the Trace the Route tool →

Quick check: What lets a Lightning payment reach someone you don't have a direct channel with?

  1. A central Lightning server that forwards it
  2. Routing through a connected path of already-open channels ✓
  3. Opening a new channel automatically for every payment

The network is the channels other people already opened — you borrow the path, not the funds.

Quick check: What prevents someone in the middle of a routed payment from stealing it?

  1. Reputation scores for routing nodes
  2. A cryptographic lock (HTLC) that makes the payment succeed completely or fail completely ✓
  3. Insurance provided by the wallet company

All-or-nothing by construction. A hop can refuse to forward, but it can never keep what passes through.

Next up

So why does all of this end up being faster and cheaper than a normal Bitcoin transaction?