Cashu

From claude-dev-suite/claude-dev-suite · View interactive version

Cashu is an AI agent skill from the GitHub repository claude-dev-suite/claude-dev-suite. Cashu: single-mint Chaumian e-cash for Bitcoin Lightning. NUTs (Notation, Usage, and Terminology specs) define mint protocol, payment flow, blind signatures. USE WHEN: integrating Cashu mints/wallets, building NUT-compliant apps, comparing with Fedimint.

How to use this skill

Skill file

Cashu

Open-source Chaumian e-cash protocol for Bitcoin Lightning. Single

mint operator (vs Fedimint's federated). Specs evolve via NUTs

(github.com/cashubtc/nuts).

Mint reference: cashubtc/nutshell (Python).

Architecture

Lifecycle

Mint (deposit BTC → notes)

  1. Wallet asks mint for an LN invoice (specifying amount).
  2. Wallet pays invoice via LN.
  3. Mint signs blinded note(s) for the wallet (blind signing).
  4. Wallet now holds notes, has anonymity within mint.

Spend (intra-mint payment)

  1. Wallet A sends notes to Wallet B (any transport: NFC, QR, Nostr,

email).

  1. Wallet B presents notes to mint, receives fresh notes (swap).
  2. Note serial numbers added to spent set; can't be spent again.

Melt (notes → LN)

  1. Wallet asks mint to pay an LN invoice using its notes.
  2. Mint pays invoice; consumes notes.

NUTs (specs)

Modular spec evolution. As of September 2026 the spec repo defines

NUT-00 through NUT-30, split into a mandatory core and optional

extensions each mint advertises under its number in the NUT-06 nuts

capability map.

Mandatory — wallets and mints MUST implement all of NUT-00 to NUT-06:

Optional (NUT-07 to NUT-30), selected:

BOLT12, on-chain.

Full index plus the per-wallet/per-mint support matrix lives in the

cashubtc/nuts README.

Privacy

Trust model

Single-mint trust:

Compare to Fedimint's threshold trust — Cashu is simpler but more

custodial-feeling.

Implementations

mint binary. (cashubtc/cashu-rs no longer exists as of September

2026.)

nutmix and Sovran are both listed in the cashubtc/nuts README support

matrix as of September 2026.

Use cases

Lightning Address integration

Cashu mints often expose Lightning Addresses:

user@minturl.com → LNURL-pay → mint generates note for user

Payment requests

NUT-18 encodes a payment request as `"creq" + "A" +

base64_urlsafe(CBOR(req))`. NUT-26 adds a smaller TLV + Bech32m form

with HRP creqb and version separator 1; wallets decode both.

A NUT-26 request can be carried inside a BIP-321 Bitcoin URI as a creq

query parameter, so a single QR code can offer Lightning and Cashu side

by side and the payer's wallet picks the rail it supports:

bitcoin:?lightning=lnbc...&creq=CREQB1...

NUT-24 reuses the same two encodings in an X-Cashu header on an HTTP

402 Payment Required response.

Compared to Fedimint

| Aspect | Cashu | Fedimint |

|--------|-------|----------|

| Trust | Single mint | Federated multisig |

| Setup | Trivial (run one mint) | Multi-guardian setup |

| Privacy within mint | Yes (blind sigs) | Yes |

| Cross-mint atomic swaps | Possible | Possible (by design) |

| Mobile wallets | Many | Fedi (primary) |

Status

Beta production. Active development; new NUTs added regularly — the

spec repo had reached NUT-30 (payment method: on-chain) by September

  1. Multiple mints in use globally (some open, some private).

See also

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.