cashubtc / nuts

Cashu protocol specifications https://cashubtc.github.io/nuts/
MIT License
152 stars 52 forks source link

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-cli Nutshell, Moksha, cdk-mintd, nutmix
08 Overpaid Lightning fees Nutshell, Moksha, Nutstash, cashu-ts, cdk-cli Nutshell, Moksha, cdk-mintd, nutmix
09 Signature restore Nutshell, cdk-cli, cashu-ts, gonuts Nutshell, cdk-mintd, nutmix
10 Spending conditions Nutshell, cdk-cli, cashu-ts Nutshell, cdk-mintd, nutmix
11 Pay-To-Pubkey (P2PK) Nutshell, cdk-cli, cashu-ts Nutshell, cdk-mintd, nutmix
12 DLEQ proofs Nutshell, cdk-cli Nutshell, cdk-mintd, nutmix
13 Deterministic secrets Nutshell, Moksha, cashu-ts, cdk-cli, gonuts -
14 Hashed Timelock Contracts (HTLCs) Nutshell, cdk-cli Nutshell, cdk-mintd, nutmix
15 Partial multi-path payments (MPP) Nutshell Nutshell
16 Animated QR codes Cashu.me -
17 WebSocket subscriptions Nutshell Nutshell
18 Payment requests Cashu.me, Boardwalk, cdk-cli -

Wallets:

Mints: