cashu-protocol

Explain Cashu ecash protocol design choices and cite NUT specifications.

1|Updated May 16, 2026
One-click install
npx skills add https://github.com/gudnuf/agicash-rs --skill cashu-protocol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cashu-protocol
Source: https://github.com/gudnuf/agicash-rs/tree/main/.claude/skills/cashu-protocol
Command: npx skills add https://github.com/gudnuf/agicash-rs --skill cashu-protocol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The Cashu protocol skill helps you understand why the Cashu app makes certain design decisions, including how blind signatures, keyset rotations, and spending conditions operate in practice.

Core Features & Use Cases

  • Understand the rationale behind Cashu’s cryptographic primitives and protocol flows, including minting, swapping, and melting.
  • Learn how to cite NUT specifications precisely when explaining or implementing Cashu concepts.
  • Use this knowledge to debug or extend Cashu-based wallets and services.

Quick Start

Review the SKILL.md and the NUT references to map Cashu protocol concepts to real-world tasks.

Frequently Asked Questions about cashu-protocol

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does the Cashu ecash protocol handle blind signatures and keyset rotations?

The Cashu ecash protocol uses blind signatures to mint ecash tokens privately, while keyset rotations manage mint key lifecycle and transitions. This Skill explains the cryptographic rationale and design choices behind these mechanisms using official NUT references.

How do I implement minting, swapping, and melting flows in a Cashu wallet?

To implement minting, swapping, and melting in a Cashu wallet, follow the protocol flows defined in the official NUT specifications. This Skill maps these real-world scenarios to exact NUT sections, providing grounded guidance for extending or debugging wallet services.

What are Cashu NUT specifications and how do I cite them correctly?

Cashu NUT specifications are the protocol's technical standards defining ecash operations and spending conditions. This Skill includes a parse-nut tool to extract exact sections from references, ensuring precise citation when explaining or implementing Cashu concepts.

Why does the Cashu protocol use ecash and spending conditions instead of traditional on-chain payments?

The Cashu protocol uses ecash to enable instant, private, and offline-capable transactions through blind signatures, while spending conditions add programmable constraints. This Skill details the reasoning behind these design choices over traditional payment approaches.

Can I use the Cashu protocol to debug spending conditions in my custom mint implementation?

Yes, you can use this Skill to debug spending conditions in custom Cashu mint implementations by referencing the official NUT documents. It grounds troubleshooting and extension guidance in the protocol's reference files to resolve mint and wallet issues.

What are the limitations of the Cashu ecash protocol regarding trust and mint operations?

The Cashu ecash protocol relies on mint trust for keyset management and blind signature issuance, meaning mints can theoretically re-mint tokens. This Skill explains these design trade-offs and protocol limitations by citing the relevant NUT specifications.