Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to split payments to npubs profiles from Nostr #5

Open
bitcoinuser opened this issue Mar 25, 2023 · 4 comments
Open

Add an option to split payments to npubs profiles from Nostr #5

bitcoinuser opened this issue Mar 25, 2023 · 4 comments

Comments

@bitcoinuser
Copy link

Hi,

I always wanted an option to split payments to npubs users of Nostr. Maybe is possible to choose npubs and automatically extract the lightning addresses from the npubs I choose and send the payments to them.

Is it possible? Thanks.

@bitcoinuser
Copy link
Author

I posted some idea here: nostr-protocol/nips#323

@dni
Copy link
Member

dni commented Mar 26, 2023

thanks for your suggestion.

why don't you put the lightning address directly inside the splits? why the overhead on extracting it from npubs?
i do not really see the benefit of using npubs.

can you elaborate?

@bitcoinuser
Copy link
Author

thanks for your suggestion.

why don't you put the lightning address directly inside the splits? why the overhead on extracting it from npubs? i do not really see the benefit of using npubs.

can you elaborate?

Hi, the reasons are:

1- People can change lightning addresses but a nostr profile, people usually do not change.
2- I would like to see interoperable of this with Nostr clients, so I can go to a nostr client and add a npub to a donation list and maybe import or syncronize the list with lnbits splitplayments plugin.

@pfoytik
Copy link

pfoytik commented Jul 25, 2023

I am working on a prototype for this using the existing libraries used by lnbits. I will have to think a little more about interoperating it other Nostr clients. For my first iteration I'll let you insert the npub and split payments will automatically derive the lightning address using websockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants