Why Nostr? What is Njump?
2023-09-01 22:48:41

jb55 on Nostr: Couldn’t get OpenNode working… but figured out a way to use my core-lightning ...

Couldn’t get OpenNode working… but figured out a way to use my core-lightning node to accept payments in the Damus shopify store. Idea is to use a manual payment method, when the user clicks pay now in their invoice email, it links out to a lnlink.org lightning payment link (no server required)

http://lnlink.org/?d=ASED88EIzNU2uFJoQfClxYISu55lhKHrSTCA58HMNPgtrXECbW9uYWQuZW5kcG9pbnQuamI1NS5jb206ODMyNAADYAego9kAnmQBTmdZ0uqhrkXuFX-qs8CckOUKN29B0bf8PTEyMCZtZXRob2Q9aW52b2ljZXxtZXRob2Q9d2FpdGludm9pY2UmcG5hbWVsYWJlbF5sbmxpbmstJnJhdGU9OARPcmRlciAjMTIzNDUABQAATiAGRGFtdXMgVAA=

The lnlink.org payment link contains all the information needed to connect to a lightning node to fetch invoices and wait for payment results.

All I need to do is include the order number and amount in the lnlink URL for the shopify invoice email.

This is a much lighter weight way than btcpayserver to accept lightning payments, because you don’t need to run any server code, just a lightning node.

Maybe I should build a shopify payment app for this to make it super easy 🤔

In the future this can be made even easier by using nostr relays as an lnlink proxy, so even if your node is behind a firewall it would work! Imagine running shopify stores off your own node in your home with no need to integrate into third party payment processors or run any servers. So much cool tech yet to build…
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s