Join Nostr
2026-10-27 10:48:01 UTC

robwoodgate on Nostr: cashu-ts 4.13.0 is out 🥜 Cashu-TS, the Typescript library that powers many Cashu ...

cashu-ts 4.13.0 is out 🥜

Cashu-TS, the Typescript library that powers many Cashu Wallets and services, just got better NUT-18 payment request support.

- Pay a request in one call. wallet.ops.sendToRequest(request) applies every payer rule for you: unit, mint list, accepted methods, per-method fees, input fees and the lock. You can't underpay by accident.
- Check a payment in one call. wallet.isPaymentRequestSatisfied(...) tells a payee whether the proofs they received really cover the request. It checks the net amount after fees, mint, unit, duplicates and the spending conditions.
- Request features that match v5: preferred mints (mp), supported methods with per-method fees (sm), and wire-safe encodePayload / decodePayload helpers.

It's a drop-in upgrade for v4 users. There's a new usage guide in payment_requests.md.