ZmnSCPxj [ARCHIVE] on Nostr: 📅 Original date posted:2018-01-08 📝 Original message: Good morning Cezary, ...
📅 Original date posted:2018-01-08
📝 Original message:
Good morning Cezary,
Currently, c-lightning can PAY amountless invoices via the "pay" command, but cannot CREATE them via the c-lightning "invoice" command.
To pay an amountless invoice lntb... 4 satoshis in c-lightning: lightning-cli pay lntb.. 4000
However the internals of c-lightning should be able to handle creating amountless invoices (it is only the JSON-RPC command itself which requires the amount, but the rest of the code treats it as optional). I will see what I can do to make creating amountless invoices in c-lightning possible.
Regards,
ZmnSCPxj
Sent with [ProtonMail](
https://protonmail.com) Secure Email.
> -------- Original Message --------
> Subject: [Lightning-dev] Invoice without amount
> Local Time: January 6, 2018 10:04 PM
> UTC Time: January 6, 2018 2:04 PM
> From: cezary.dziemian at gmail.com
> To: lightning-dev at lists.linuxfoundation.org
>
> Hello,
>
> It looks "amount" is optional for invoice:
>
>
https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md>
> The issue is I cannot generate such invoice using lnd. This is very important for what we are tryiong to do with LN. Can you confirm, that value will be optional for LN invoice.
>
> Or at least, thet there is some other way to send payment when sender specifies amount.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20180108/208c416d/attachment.html>
Published at
2023-06-09 12:48:24Event JSON
{
"id": "d6c75b2253ac0cbe7e1d444434082466f6bb533b7ec54e36eacaebece492cfea",
"pubkey": "4505072744a9d3e490af9262bfe38e6ee5338a77177b565b6b37730b63a7b861",
"created_at": 1686314904,
"kind": 1,
"tags": [
[
"e",
"1ff696e7d45be59b4bb11b293581a3aea766f334f1b0fbaa54a16bcfddcc3f31",
"",
"root"
],
[
"e",
"2d7b319ba9455ce7eb3b3f3e9cd2b8f56a0c2a6b817c330a588433e45b3095ae",
"",
"reply"
],
[
"p",
"8a2fa413a3d67daf70935b47d6f37a88aec527b7e94baccd5775414318eab260"
]
],
"content": "📅 Original date posted:2018-01-08\n📝 Original message:\nGood morning Cezary,\n\nCurrently, c-lightning can PAY amountless invoices via the \"pay\" command, but cannot CREATE them via the c-lightning \"invoice\" command.\n\nTo pay an amountless invoice lntb... 4 satoshis in c-lightning: lightning-cli pay lntb.. 4000\n\nHowever the internals of c-lightning should be able to handle creating amountless invoices (it is only the JSON-RPC command itself which requires the amount, but the rest of the code treats it as optional). I will see what I can do to make creating amountless invoices in c-lightning possible.\n\nRegards,\nZmnSCPxj\n\nSent with [ProtonMail](https://protonmail.com) Secure Email.\n\n\u003e -------- Original Message --------\n\u003e Subject: [Lightning-dev] Invoice without amount\n\u003e Local Time: January 6, 2018 10:04 PM\n\u003e UTC Time: January 6, 2018 2:04 PM\n\u003e From: cezary.dziemian at gmail.com\n\u003e To: lightning-dev at lists.linuxfoundation.org\n\u003e\n\u003e Hello,\n\u003e\n\u003e It looks \"amount\" is optional for invoice:\n\u003e\n\u003e https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md\n\u003e\n\u003e The issue is I cannot generate such invoice using lnd. This is very important for what we are tryiong to do with LN. Can you confirm, that value will be optional for LN invoice.\n\u003e\n\u003e Or at least, thet there is some other way to send payment when sender specifies amount.\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20180108/208c416d/attachment.html\u003e",
"sig": "73af1434b0c9289ffa5fb3c04f1f5fcee84b1265046536f4e6d70e7ec68b272442576b7a86421e6506ad2f5d619dd5b14a2edd7b4fe26b0c525e4d78abdea42e"
}