Factura BOLT-11

Un código de solicitud de pago con importe, destino y secreto, normalmente en QR. De un solo uso.

En palabras simples

A Lightning payment request, usually shown as a QR code. It states the amount, recipient and secret code. You can use it only once.

Lo esencial

  • BOLT-11 is the original Lightning payment request: a bech32 string carrying the amount, destination and payment hash.
  • Each invoice is single-use and single-purpose. A paid invoice cannot be paid again.
  • BOLT-12 offers reusable, more private successors.

What is in the string

A BOLT-11 invoice encodes the payment hash, the destination node, an optional amount, an expiry and route hints. Route hints are short paths the payer can use to reach nodes that have only private channels.

The string is human-typable and encodes naturally to a QR code. A signature scheme tied to the destination node's identity simplifies signing, so your wallet can show a verified payee rather than an opaque string.

Single-use by design

The invoice commits to one payment hash. Once the payer reveals the preimage, that exact invoice is spent. Reusing it fails or, worse, lets a scammer collect twice if the payer is careless with retries, which is why wallets always fetch a fresh invoice.

Its successor

BOLT-12 offers are reusable payment requests that hide the destination behind blinded paths. They support things BOLT-11 could not: recurring payments, refunds and static payment identifiers. Adoption is gradual, and BOLT-11 remains the most compatible format in daily use.

0

← Los 1876 términos del glosario