Or even the equivalent bolt12 mechanism. I’ve been advocating for this recently
nostr:nevent1qqsqhfgzprxg7p9ny0za3jz2qd29nf8962j7cw5l5n6egnmzkucrjscudj680
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!
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.