What is Nostr?
npub1m6y…mzj9
2024-08-20 18:34:09
in reply to nevent1q…dr6g

npub1m6…2mzj9 on Nostr: elsirion's been working on and off on a better indexDB transaction abstraction ...

elsirion (npub1nc0…z5pa)'s been working on and off on a better indexDB transaction abstraction that'll make doing ecash TXs from a PWA or webapp much more reliable, will also work for cashu since it's just generic KV! https://github.com/elsirion/webkv/blob/master/src/lib.rs

The default indexdb behavior is to commit the transaction as is whenever the event loop hits a network request, so for ecash transactions that might be hitting multiple mints it's probably causing the same issues we used to see in the Fedi PWA. webkv makes indexdb transactions operate the way everyone assumes they should work haha
Author Public Key
npub1m6yz8nwf0xl5cafjy0kurxn6hs67eleft8h4pj57n4tn4s8c8lgqd2mzj9