are people actually using ecash for anything?
Sjors Provoost
sjors@sprovoost.nl
Minibits for nostr zapping.
And receiving zaps offline.
bolt12 invoice requests are better for that imo. its like a coupon you can redeem for real sats once you get back online. and you can choose which wallet you want to deposit into
Works even if your lightning wallet is offline?
Works through zaps?
What's an example of a wallet that works for this use case today?
My lightning node is never offline, unless it's under DDoS or a bug.
(not saying it should replace e-cash, but that's definately not the case for all wallets - but I would like to see it)
I run GrapheneOS and so it is often offline and I am not hosting it on a server but maybe I will change that.
one protocol i could imagine seeing is a bolt12 invoice_request "coupon" with a resignable amount. this would allow offline coupon creation. I wonder if something like this would be eventually possible @Rusty Russell ? i guess you would need the node's key to sign it?
Hmm. There are several things which could be done.
Firstly, the key for the inv request doesn't need to be the node key. You can use an ephemeral one, so that's one possibility (ofc your node has to honor it, but that's an implementation detail).
Alternately, fields 250-1000 are not covered by the signature. This would allow an extension to say "put an amount, signed by Bob, in field 255". Of course, clients would need to understand that that should use this amount field, not the normal one.
Also, having a mechanism to pull funds gives me the "credit card vibes" ick, but maybe that's just me...
Temporarily holding received zaps, until you get around to implementing bolt12 zaps.
as far as i know you can't do verified bolt12 zaps until some change to the protocol that hasn't happened yet
I guess I should have said: until you've spec'd and implemented bolt12 zaps :-)