Join Nostr
2025-10-24 15:17:57 UTC

Egge on Nostr: Cashu-TS Version 3.0.0 We're excited to announce version 3.0.0 of cashu-ts! This ...

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: https://github.com/cashubtc/cashu-ts/blob/v3.0.0/migration-3.0.0.md

Thanks to all contributors who made this release possible! Special thanks to who led the redesign effort and showed incredible dedication in building this release!