PC 2.0 Wiki
protocol
  • lightning

LNURL

LNURL is a set of protocols that wrap Lightning interactions in ordinary HTTP requests, so wallets can fetch what they need instead of making users copy long strings.

Why it matters

Raw Lightning UX is hostile: invoices expire, are single-use, and are unreadable. LNURL puts a server in the middle that mints them on demand, which is the foundation of anything resembling a reusable payment identity.

The cost is a server. An invoice is a message between two nodes; an LNURL is a promise that a web endpoint will still answer tomorrow. The identity is only as durable as whoever runs that host.

How it works

The specifications are numbered LUDs. LUD-01 defines the base encoding — an HTTPS URL in bech32, which is the lnurl1… string a QR code carries. LUD-17 allows the raw URL with a scheme prefix instead, which is what most modern wallets use.

The subprotocols cover the common flows: LUD-06 for pay, LUD-03 for withdraw, LUD-04 for auth, LUD-02 for channel requests. In LUD-06 the wallet fetches the URL and receives a callback address, a minimum and maximum amount, and a metadata string that must contain a text/plain entry. The wallet then calls back with a chosen amount and receives an invoice whose description hash commits to that exact metadata, so the wallet can prove the invoice matches what it was shown.

LUD-09 adds a success message after payment, LUD-12 a comment field, and LUD-16 the static identifier behind a Lightning Address.

Sources

Heard on the show

11 moments across 9 episodes.

  1. E123 · 24 Feb 2023 · Get Off My Chain!

    • 57:49Nostr - key send - LNURL mafia?chapter
  2. E119 · 27 Jan 2023 · Bowl of Noodles

  3. E99 · 26 Aug 2022 · Airhorns are LIT!

    • 1:07:00LNURL Mafia Updatechapter
    • 1:14:00Atomic Multipath Payments (AMP) vs LNURLchapter
    • LNUrl mafiashow notes
  4. E251 · 27 Feb 2026 · Pod Snuggle

  5. E242 · 21 Nov 2025 · Poddy Pop Up

    • 30:30this before as a fatal flaw in LNURLP.transcript
  6. E206 · 10 Jan 2025 · Substance Dualist

    • 42:03I mean, a zap is just an LNURLP.transcript
  7. E202 · 29 Nov 2024 · Walletpocalypse

    • 43:56What exactly is the difference between LN URLtranscript

and 2 more episodes, back to E52 (3 Sep 2021).

Show all 11 moments across 9 episodes
  1. E251 · 27 Feb 2026 · Pod Snuggle

  2. E242 · 21 Nov 2025 · Poddy Pop Up

    • 30:30this before as a fatal flaw in LNURLP.transcript
  3. E206 · 10 Jan 2025 · Substance Dualist

    • 42:03I mean, a zap is just an LNURLP.transcript
  4. E202 · 29 Nov 2024 · Walletpocalypse

    • 43:56What exactly is the difference between LN URLtranscript
  5. E123 · 24 Feb 2023 · Get Off My Chain!

    • 57:49Nostr - key send - LNURL mafia?chapter
  6. E119 · 27 Jan 2023 · Bowl of Noodles

  7. E118 · 20 Jan 2023 · No Malaise

    • 52:05have the same key send lookup on that. That kind of is not the ln URL spec is not in that spec. But we both just went for thetranscript
  8. E99 · 26 Aug 2022 · Airhorns are LIT!

    • 1:07:00LNURL Mafia Updatechapter
    • 1:14:00Atomic Multipath Payments (AMP) vs LNURLchapter
    • LNUrl mafiashow notes
  9. E52 · 3 Sep 2021 · Celebrating Our First Anniversary

    • 11:54experience with ln URL, which is now implemented in a lot oftranscript

From chapter titles, show notes, the PC 2.0 Timeline and the clip notes. Where those say nothing, from the episode transcript — which reaches further but only records that a word was said. 214 of 266 episodes have curated notes; 177 moments come from transcripts.