Cashu-TS Version 3.0.0
We're excited to announce version 3.0.0 of cashu-ts! This release brings significant improvements to the API design, making it more intuitive and powerful. While this version includes breaking changes, we've streamlined the developer experience and added new features that make working with Cashu easier than ever.
Highlights
- Simplified Class Names & Initialization
- Introducing WalletOps - a beautiful, chainable API for wallet operations:
const { keep, send } = await wallet.ops
.send(amount, proofs)
.asP2PK({ pubkey: bytesToHex(pubKeyBob) })
.includeFees(true)
.run();
- Simplified Exports
- Better Organization
- Enhanced Authentication
- API Cleanup
- Developer Experience and Type Safety
Please see the full migration guide for detailed instructions on upgrading your code: .md
Thanks to all contributors who made this release possible! Special thanks to @Rob Woodgate who led the redesign effort and showed incredible dedication in building this release!
Thread
Login to reply
Replies (9)
OMG... it's finally here! š„³ š š¾ š„
View quoted note ā
Like watching your child take it's first steps š„³ š¾
Best team in the world, thank you guys š š
amazing work rob š
Iām ashamed to ask but can someone tell me what this does?
1) does it affect UX in any way?
2) does the mint need to update for these changes?
3) will wallets based on previous versions still work?
cashu-ts is a library, not an app, neither a mint or a wallet itself. The cashu-ts library is used for the client side, which means that it'll be used in some wallets. So answering your questions:
1) It doesn't affect the UX, rather the DX.
2) cashu-ts has nothing to do with mints.
3) Yes, wallets will still work, the Cashu protocol hasn't changed. But the existent wallets already using cashu-ts will have to put some effort in the migration.
Could we have a simplified explanation of Cashu for non-coders? I hear a lot about it but it's hard to work out what it is and what it does based the on Nostr posts.
There is plenty of videos already. In English Iād recommend @calle ās talk at the Freedom Forum:
Start here:
If you have specific questions afterwards, please ask!
Cashu - Open-source Ecash