This is working really well (and quite easily!).

One thing I'm noticing though: when using NWC with an ecash wallet like Minibits, the successful payment doesn't have a `preimage`. Does getAlby's js-lightning-tools or sdk provide a way to handle this? I'm looking now but not seeing anything yet.

Reply to this note

Please Login to reply.

Discussion

without the preimage there is no proof that the invoice was paid.

in what way should it be handled?

maybe minibits can return that?

nostr:nprofile1qqstxwlea9ah3u6kjjszu6a7lrnhqkfh8eptp2z6v0e9558tlkkl2rgpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsz9mhwden5te0wfjkccte9ec8y6tdv9kzumn9wshszxnhwden5te0wfjkccte9ekkjmnfvf5hguewvdshx6p07xr4s5 what are we missing here?

NWC with ecash wallets is widespread on Nostr so there must be some trivial solution I just haven't found yet.