Why Nostr? What is Njump?
2024-09-07 03:42:58

BtcPins on Nostr: I was making good progress on a new Woocommerce / btcpayserver plugin when Lunanode ...

I was making good progress on a new Woocommerce / plugin when Lunanode went down tonight.

So it's an affiliate app. People can earn sats shilling my store. That's not the cool part though.

1. No need to create an account on my site. All you do is take your lightning address and encrypt that with a public key I provide, add it to my store URL. I'll have a page that makes that easy, but you can verify it or do it yourself 👍

The URLs it makes are pretty long, but that's a later problem.

2. When someone buys something after following your link, the plugin decrypts the referral URL, calculates the payout, then sends some API calls to my to create a Pull Payment then a Payout Request for that. Then Btcpayserver sends the payment to the lightning address.

3. The plugin confirms that was all done and adds some notes to the order so it doesn't get paid twice.


I'm making this mainly because I hate marketing and want others to do it for me. Also I don't want to have to deal with tracking orders and paying people manually. Set it and forget it.

Author Public Key
npub12z5nym0qkxhdrvmyhup2llzp98lryr38gw8ywxktkps9eqdts7asjj9k9c