Is there a TypeScript library to automate buffering Cashu payments to/from a mint while allowing users to hold the majority of their sats on a second Lightning-enabled subnet (e.g. Liquid/Spark/Ark)?
nostr:npub12rv5lskctqxxs2c8rf2zlzc7xx3qpvzs3w4etgemauy9thegr43sf485vg Can we hope for one day that Cashu.Me becomes a native app as well? 👀
Discussion
So you mean a cashu wallet lib with an automatic exit to the subnet? I am currently working on a batteries-included cashu lib to streamline wallet dev. Adding a subnet would happen a layer above, but at least this would take care of all the cashu orchestration
Amazing! A react-native-async-storage adapter for coco-cashu should be pretty strait forward.
And yes, wrapping complexity for automatic exit to a subnet in the layer above makes sense.
I just built one for expo-sqlite ^^
https://www.npmjs.com/package/coco-cashu-expo-sqlite
I must have forgotten to push the code for that adapter to the repo. Will do asap