Damus
g4tt0 profile picture
g4tt0
@g4tt0
#PSA for #cashu wallet builders

mints are starting to move to keysets v2, which means wallets need to be up-to-date to support them too.

Although Cashu-TS (CTS) v2.7.0+ SUPPORTS keysets v2, you have to take steps to ensure your app is USING the tools in a keyset v2 supported way.

TLDR: Tokens containing Keyset v2 Proofs CANNOT be fully decoded without "help" because the token contains a shortened keyset ID. You MUST rehydrate them using Mint Keyset info.

If you are not already using CTS v3 for your wallets, I urge you to upgrade asap because it a) reflects the latest NUT specs and b) includes more quality of life tools for keysets v2.

Docs here: https://cashu-ts.dev/documents/usage_get_token.html‌

[source: Rob W on Cashu R&D chat]