pull down to refresh

Are you going to run a Lightning node on the Wordpress server? Wordpress doesn't generate invoices, lightning nodes do, and most people use Wordpress in a shared-hosting setting.

Nostr lets a web app, whatever that happens to be including static pages... reach the node without the node itself needing a web-server / static ip / tunnel etc.

Having a CLINK-enabled node then also enables more p2p-like use-cases from that same node, such as nostr-clients or even wallet-to-wallet with an noffer code.

Time to face the reality of what has stifled Lightning adoption: Setting up traditional web infrastructure just to reach your node is not for the faint of heart, and failing to do so simply results in a node being a cost-center that is useless unless you're purely a tinkerer that likes ending the day with less sats than you started with.

Ok, why not implement CLINK in a wordpress plugin so the webserver can use CLINK to get a bolt11 for the customer? I don't understand why the customers of a wordpress site needs to know CLINK when a BOLT11 is sufficient for this usecase.

reply

Thats exactly how it works, all CLINK does is fetch a bolt11 invoice. CLINK is how the web app connects to the node, the customer does not need a CLINK-aware wallet.

Try it on https://clinkme.dev

The plugin this person made seems geared towards subscriptions which is a separate use-case, that would require a CLINK-aware wallet, thats effectively just a cron job in the wallet to pay a noffer, alternatively the customer can provide an ndebit and the woo server can send requests for payment to that.

reply
The plugin this person made seems geared towards subscriptions which is a separate use-case, ...

That is accurate, but the same plugin can also be used to pay for standard, basic products, as it will generate lightning invoices. The only distinction is that once the first bolt11 lightning invoice is paid, the customer won't be asked to submit a nOffer to activate subscriptions Auto-Renewal.

reply