After our previous Woo-CLINK plugin for WordPress and WooCommerce, we thought it would be worth having a BTCPay Server plugin that lets merchants accept Lightning payments via the CLINK protocol (no HTTP calls). Customers pay with any CLINK-aware wallet (like ZEUS, Amethyst and Electrum, for now). All communication flows over Nostr relays. No web server required for your Lightning node.
The merchant generates a noffer1... string from their CLINK-compatible node, the plugin requests a BOLT11 invoice over Nostr, customer scans the QR and pays. Pretty straightforward, as most of us are used to doing when buying products with lightning online.
For subscriptions, customers provide a nDebit string during checkout, enabling sats to be deducted directly from the authorized wallet on auto-renew.
Features include client-side invoice generation, configurable timeouts, support for fixed or live CoinGecko BTC rates, and multiple relay support for redundancy.
Code is MIT licensed. Docs at https://github.com/WoompaLoompa/btcpay-clink/wiki
great addition - hope these plugins will encourage much wider wallet support for CLINK now
Based and CLINK pilled
The plugin can now be found in the BTCpay plugins directory. Leave a review if you test it.
https://plugin-builder.btcpayserver.org/public/plugins/clink
@AGORA @AG
👀
👀