-
Notifications
You must be signed in to change notification settings - Fork 193
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
[Feature] Add webln.sendMultiPayments
method
#2998
Labels
idea
A feature idea that needs to be more specification
Comments
Hi @yukibtc We are currently working on this in the NWC spec, so maybe it can then be proposed to be added to WebLN. Specifically the response needs to be reviewed because with this endpoint there is possibility of some payments succeeding and some failing. Any feedback there would be appreciated! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
Hi, would be awesome to have a method in WebLN to pay multiple invoices with one prompt request. This can improve the a lot the UX of nostr zap splits without the need of set a budget.
Describe the solution
Add
webln.sendMultiPayments(invoices: string[])
method. Internally: decode the invoices, calculate the total amount and prompt a payment request showing the total amount (an eventually a badge/description saying that is a multi-payment request).Describe alternatives
No response
Additional context
No response
Are you working on this?
None
The text was updated successfully, but these errors were encountered: