How is payment experience of convoluted animated qr codes better than just connecting your node to zeus?

Reply to this note

Please Login to reply.

Discussion

What I meant to say was the payment reliability, speed and privacy. Managing lightning channels can be cumbersome at times and especially when your out and about.

If you're running cashu in noncustodial way you still have the channel management pains.

There's an underfunded area channel management. Not as sexy as layer 3 but prob more important.

agree funding is needed here, there was a lot of hype and talk around it a couple of years ago, but the enthusiasm seems gone now.

You could get a similar UX natively on lightning if you stack LNURL withdraw codes of various denominations in a cashu wallet instead of proofs from a mint. Now you have a set of bearer instruments that you can give to a vendor even though your offline.

Obviously you need to run the lightning node that issues the withdraw codes yourself if you want it to be non custodial.

That's been discussed a bunch. Lnurlws could be bearer for athe paid api call usecase. It's pretty interesting.

Or even the equivalent bolt12 mechanism. Iโ€™ve been advocating for this recently

nostr:nevent1qqsqhfgzprxg7p9ny0za3jz2qd29nf8962j7cw5l5n6egnmzkucrjscudj680

Is there anything in Bolt12 that can allow offline generation of offers, like you can with on bolt11 by setting the payment_secret to a HMAC + ID used to derive a preimage/payment_hash, and possibly payment_metadata that is sent in the onion?

good question nostr:npub179e9tp4yqtqx4myp35283fz64gxuzmr6n3yxnktux5pnd5t03eps0elz4s

I would assume not ?

Yes you can I think actually!

offer_metadata, along with a fake node, and a hint to try via the real node can do this.

๐Ÿš€

I read the spec and thereโ€™s a lot more than I thought, damn

I will be implementing bolt12 payments into my payment server and as a payment method for my services.

yeah and its all in TLV format instead of something custom which is nice

yeah I am implementing this. running a CLN node so it should be easy.

I could probably make in a few hours an offline payments plugin as well but that is for another day.

Now yer cookinโ€™!

LFG ๐Ÿ‘

I knew there had to be a way with lightning. Let me know if/when you want to test anything!

honestly I want to do offline/asymmetric bolt11/12 as it means I can generate stateless invoices (which is good for Vitorโ€™s dumb notify spec) and also means no more node latency for creating an invoice

I do not have time for it yet though, SE work is taking up a lot of it

Yep! You create a blinded path via a known node (or, if you want, more than one). You can put as many (fake) hops in those paths as you want.

If there is, this allows immensely more capabilities than Cashu.

No more need to agree on a specific mint, one-side-offline payments just work interoperably.

It could probably be extended anyway to allow that.

Yes exactly. It would be great to have a library that does this, so that people who don't want to run a cashu mint can still have the cashu UX natively on their BOLT12 lightning node.