Was just trying to replicate this. Looks like you can create the eCash token while offline and then send the token to the other offline cashu.me instance, but it’s not actually redeemed until the instance goes online. Seems reasonable to me. It’s a bit like printing the eCash token string (or QR code) onto paper and then handing someone the paper. You “sent” them eCash, but the token hasn’t been redeemed yet. Is there anything to prevent you from sharing the token multiple times? Then it becomes a race to be the first to redeem it. 🤔
He can lock the ecash payment to the public key of the reciever. Then theres no way he can double spend.
At first, I really liked your idea. Thought it would work. But I wanted to test it. Loaded up two cashu.me pages and cloned the state so they both had the same wallet. Then I created PKs for both, and went offline. I wasn’t able to create a “locked” token while offline. However, I was able to create tokens of different amounts from each instance and I could share those.