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

feat: pay 0-amount invoices #860

Merged
merged 8 commits into from
Dec 17, 2024
Merged

feat: pay 0-amount invoices #860

merged 8 commits into from
Dec 17, 2024

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Dec 8, 2024

Fixes #75

Currently only implemented in LDK. Includes a new screen for entering the amount (the same as the LNURL one, just without the ability to set a comment)

Tested by running 2 nodes locally and generating a 0-amount invoice from one and paying with the other. NOTE: there is no plan to add support for creating 0-amount invoices.

@rolznz rolznz requested review from bumi and im-adithya December 8, 2024 07:01
@bumi
Copy link
Contributor

bumi commented Dec 10, 2024

you know how much I like zero-amount invoices :D

will this work with the supported backends or will this need more if ?

Adds 0 amount invoices for LND
Copy link
Member

@im-adithya im-adithya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit regarding payload struct, otherwise tACK (LND) 👌

frontend/package.json Outdated Show resolved Hide resolved
@rolznz rolznz merged commit 044e0c3 into master Dec 17, 2024
9 checks passed
@rolznz rolznz deleted the feat/pay-0-amount-invoices branch December 17, 2024 04:58
@SoulReaver-SS
Copy link

"NOTE: there is no plan to add support for creating 0-amount invoices." why?
That's where the meat is w/ 0 amount invoices, ability to generate them to receive flexible amounts in payment.

@rolznz
Copy link
Contributor Author

rolznz commented Dec 29, 2024

@SoulReaver-SS we believe lightning addresses are a better solution than 0-amount invoices

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

Successfully merging this pull request may close these issues.

Support paying 0-amount invoices
4 participants