𝚗𝚘𝚏𝚏𝚎𝚛: Static, Shareable Lightning Payment Codes
CLINK (Common Lightning Interactions with Nostr Keys) provides standardized, Nostr-native methods for connecting Lightning Nodes to the Web and Applications. It uses Nostr's built-in transport, identity, and encryption to let Lightning apps and nodes talk to each other securely from anywhere.
This approach avoids the reliance on traditional web servers or slow and unreliable P2P onion messages, offering broader applicability and enhanced usability over alternatives like LNURL or Bolt12.
An
noffer
is a static, shareable code that allows anyone to request an invoice from your Lightning node over Nostr.Check a Lightning Address for CLINK
Enter a Lightning Address (NIP-05 identifier like
alice@example.com
). The demo will fetch the NIP-05 record and report whether it advertises a clink_offer
.Generate a Lightning Invoice from an Offer
Paste a
noffer
string to request a BOLT 11 invoice from a provider. This demonstrates how a client (like a website or mobile app) can ask a server (like your node) for an invoice in a standardized way.𝚗𝚍𝚎𝚋𝚒𝚝: Authorize Payments from Your Wallet
CLINK provides standardized, Nostr-native methods for common Lightning interactions. It uses Nostr's built-in transport, identity, and encryption to let Lightning apps and nodes talk to each other securely.
This approach avoids the reliance on traditional web servers, offering a greatly enhanced user experience over alternatives like LNURL or NWC.
An
ndebit
is a static, shareable code that grants permission for another party to request payments from your Lightning node over Nostr.Pay an Invoice with a CLINK Debit
Paste an
ndebit
string and a BOLT 11 invoice to authorize a payment from a provider. This demonstrates how a client can request a payment from a server that has been granted permission.You can get an
ndebit
from a CLINK-compatible wallet like ShockWallet to try this feature.The demo available at https://clinkme.dev is built with the CLINK SDK, and the source is available on GitHub.
can't-remember-which-NIP-00
?