Replying to Avatar channel.ninja

That's a great idea for a new https://channel.ninja/ feature! I'll see if I can implement that.

How would channel.ninja know where your invoices go to?

Reply to this note

Please Login to reply.

Discussion

That I have to figure out 😁. Still learning...

😂

I'm sure this problem could even be solved with a single ninja bash command

Would be a hard core privacy violation to ask people to upload a json full of paid invoices... :-/

True. man you got me all excited there for a second..

Do it client-side.

I use WebLN on the client side. I can get a list of the payments (https://lightning.engineering/api-docs/api/lnd/lightning/list-payments). But I don't think you can get the payment destination out of it.

The destination is in the bolt11 invoice.

You also need to figure out the fees for the payment and potentially also the number of hops (since that would be strongly correlated with it but also decrements UX, independent of fees due to payment delay).

🤣

blocking-bits around.