/nuts

Cashu protocol specifications

MIT LicenseMIT

Cashu NUTs (Notation, Usage, and Terminology)

These documents each specify parts of the Cashu protocol. Read the specifications for the legacy API here.

Specifications

Wallets and mints MUST implement all mandatory specs and CAN implement optional specs.

Mandatory

NUT # Description
00 Cryptography and Models
01 Mint public keys
02 Keysets and fees
03 Swapping tokens
04 Minting tokens
05 Melting tokens
06 Mint info

Optional

# Description Wallets Mints
07 Token state check Nutshell, Moksha, Nutstash, cashu-ts, cdk Nutshell, Moksha, cashu-rs-mint
08 Overpaid Lightning fees Nutshell, Moksha, Nutstash, cashu-ts, cdk Nutshell, Moksha, cashu-rs-mint
09 Signature restore Nutshell, cdk, cashu-ts, gonuts Nutshell, cashu-rs-mint
10 Spending conditions Nutshell, cdk, cashu-ts Nutshell, cashu-rs-mint, nutmix
11 Pay-To-Pubkey (P2PK) Nutshell, cdk, cashu-ts Nutshell, cashu-rs-mint, nutmix
12 DLEQ proofs Nutshell, cdk Nutshell, cashu-rs-mint
13 Deterministic secrets Nutshell, Moksha, cashu-ts, cdk, gonuts -
14 Hashed Timelock Contracts (HTLCs) Nutshell, cdk Nutshell, cashu-rs-mint
15 Partial multi-path payments (MPP) Nutshell Nutshell
16 Animated QR codes Cashu.me -
17 WebSocket subscriptions Nutshell Nutshell

Wallets:

Mints: