nostr-protocol / nips

Nostr Implementation Possibilities
2.34k stars 566 forks source link

Option to create donate list and add npubs/lightning address on it and pay the users on a specific date. #323

Open bitcoinuser opened 1 year ago

bitcoinuser commented 1 year ago

Hi,

Something I always wanted was an option to create a donate list and add npub/lightning addresses on it, and pay all in the list an amount of sats, that would be distributed equally between the users included in the list in a specific date.

Considerations:

1- I don't know if is possible, but would be great if the list could be private (but total donated be public). 2-When a Npub be added on a list, receive a notification. 3- Maybe have badges for top donators and top people that received donations.

BorjaRuizReverter commented 1 year ago

This option could rise a new fresh usage of Nostr protocol. For instance, any Nostr user could publish that he/she commits to make a certain task/job up to a specific date. Users could fund this commitment by sending tips to a some kind of "conditioned lighning address vault". This is a vault that only triggers the spending on schedule at that date. So the user will have the incentive to communicate his/her progress, otherwise contributors might retire their funds.

This guy, Pablo Fernandez, which we can only be found on Nostr and Twitter (@pablof7z) implemented this kind of "conditioned transactions" on this website (https://psbt.io). So, this same back-end could be push to Nostr front-ends.

pablof7z commented 1 year ago

I'm also here under the same name.

I also did https://nostrit.com which does presigned nostr event publishing

BorjaRuizReverter commented 1 year ago

Nice to know that you're on guthub, Pablo!

By the way, I dont think users can retire funds before schedule once they have tipped that "vault" address. Could they? In other words, sending is irreversible, isnt it?

pablof7z commented 1 year ago

Using an LN escrow scheme, yes, it would be irreversible from the payer's side

bitkarrot commented 1 year ago

@dni LNbits Splits payment for LN addresses could do timed payments using internal LNBits cron job?

https://github.com/lnbits/splitpayments