pull down to refresh

LNbits-CLINK is out! I've been working on it to enable nostr-native Lightning payments in LNbits, built as usual on the CLINK standard. No LNURL, no NWC, no web server for your node. Just Nostr keys, lightning offers (noffer1...) and wallet debits (ndebit1...) strings to be saved here and there.

Demo: https://clink-lnbits.fly.dev
Repo: https://github.com/WoompaLoompa/lnbits-clink

The extension lets LNbits wallets publish a nOffer1... and get paid over Nostr, pay other offers, run subscriptions with auto-renew via nDebits... provided by customers, and enable any Lightning.pub Node to be user as Funding Source. No custodian required, but you can use the bootstrap node from ShockWallet.app if you prefer.

A few more things about it:

  • Offers are a drop-in LNURL-Pay: publish a static noffer1..., and anyone on Nostr can request and pay a fresh BOLT11 invoice. Spontaneous or fixed price. There's even a public checkout page.
  • Subscriptions that actually auto-renew: define a plan (day/week/month), hand over your ndebit1..., and a poller bills you each period over kind 21002 debit requests. It self-cancels after failed attempts, so no forever-charges.
  • Debits have teeth: per-period budgets, frequency matching, allowed_pubkeys rules, and k1 replay protection. You decide who can pull and how much.
  • Privacy by default: every payment uses a fresh ephemeral key, so your main Nostr identity stays clean.

Everything runs over relays with signed, E2E-encrypted kind 21001/21002 events. FOSS, GPL-3.0, and obviously I welcomen any feedback or PRs/issues.

I also submitted a PR to have it listed in the official https://extensions.lnbits.com reaqlly soon! Cc: @blackcoffee, Ben @arcbtc

If you're already on LNbits, this is the easiest way to point a Lightning(.pub) node to it and start receiving sats.

Wanna try?