Support paying amountless bolt11 #460
Labels
No labels
DB & Storage
Deployment
Error Handling & Logging
Maintenance
Payment Backend
backport
backport v0.13.x
backport v0.14.x
backport v0.15.x
bindings
blocked
bug
cdk-sql
ci
cli
deps
documentation
duplicate
enhancement
good first issue
help wanted
invalid
keep-open
ldk-node-ui
migrations
mint
mutation-testing
needs rebase
needs review
new nut
nut change
question
ready
rust-version
rustfmt
stacked hold
stale
testing
wallet
weekly-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cashubtc/cdk#460
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://github.com/cashubtc/nuts/pull/173
@thesimplekid let me have take at this
when a mint
PostMeltQuoteBolt11Responsehas amount set to 0, this mean the wallet is trying to get an amountless (zero-amount invoice) request invoice in the request a melt quote,when this happen, we are going to check mint
MeltMethodSettingif it's support for amountless bolt11@thesimplekid
No, the
PostMeltQuoteBolt11Requestshould be extend to have an optional field as in the linked nut pr of the amount in the case of an amount less invoice. If this is supported by the mint then that amount should be paid. There should also be a check that if there is also an amount in the invoice it is the same as requested. ThePostMeltQuoteBolt11Responsedoes not need to change.i understand, so if there is an option amount field set in
PostMeltQuoteBolt11Requestthen mint should check if it's supportamountless(zero-amount invoice), then ensure the amount field match what is in the request bolt11 Lightning invoiceYes.
Only if there is amount included in the invoice.
can an invoice comes without an amount