CLINK Protocol Demo

Offers: 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.

This demo is built with the CLINK SDK, and the source is available on GitHub.