Why Nostr? What is Njump?
2025-04-09 00:22:48
in reply to

StevenB on Nostr: It's based on lightning addresses, but should be any reason it couldn't be modified ...

It's based on lightning addresses, but should be any reason it couldn't be modified to look up the lightning addresses using the npubs.

It does require a wallet the can receive webhooks to work. The basic idea is you have a list of splits stored on the server or in a file somewhere. Someone pays your wallet, you get a verification that the payment was completed via the webhook, so now you have the funds in your wallet, Then you look up the splits and send a payment to each of those wallets, which is a percentage of the original payment.

I've got it tied into a websocket, so it's dynamic. The lookup stuff is in the comments of the invoice, when it's paid, the server can look at that comment, then connect to the websocket to get the current splits, then send those out. The QR stays static because it's the parent wallet, but the webhook wallet can look up the dynamic splits.

It is a single point of failure. If the first wallet goes down, the whole chain breaks.
Author Public Key
npub1yvgrrzf4dnmu30qfhw95x87ruu0g2kpv3a64h8hpvqsre8qeuspsgd6pv9