nutshell icon indicating copy to clipboard operation
nutshell copied to clipboard

Feature request: add NUT-15 Multinut payments to `CLNRestWallet`

Open callebtc opened this issue 1 year ago • 2 comments

It would be great to have MPP with CLN as well. Here is how it works with LND: https://github.com/cashubtc/nutshell/blob/61cf7def24fa7104d2d195f0cb5105ee8687773f/cashu/lightning/lndrest.py#L198

callebtc avatar May 23 '24 13:05 callebtc

I take it that in NUT-15, Alice creates a single bolt11 invoice for a certain amount, which is her amount across all the different mints. So then when she supplies that invoice and the proofs that add up to a certain partial amount on a single mint, doesn't this check (NUT-5) prevent partial payments entirely? https://github.com/cashubtc/nutshell/blob/d80280e35d8947ee866df6c15dec810767bf30b2/cashu/mint/ledger.py#L769-L775

cloudsupper avatar Jun 10 '24 17:06 cloudsupper

Ok I was confused now I managed to understand this anyway, thanks.

cloudsupper avatar Jun 11 '24 14:06 cloudsupper