cashu-protocol

Explain Cashu protocol concepts by citing exact NUT specifications.

55|5|Updated Feb 1, 2024
One-click install
npx skills add https://github.com/MakePrisms/agicash --skill cashu-protocol-makeprisms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cashu-protocol
Source: https://github.com/MakePrisms/agicash/tree/main/.claude/skills/cashu-protocol
Command: npx skills add https://github.com/MakePrisms/agicash --skill cashu-protocol-makeprisms

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This section provides structured guidance for understanding Cashu's ecash protocol, detailing how minting, swapping, melting, and spending are defined and enforced by the NUT specifications, so developers can reason about and implement protocol flows with confidence.

Core Features & Use Cases

  • Clear mappings of NUT-00 through NUT-27 to practical wallet and mint workflows.
  • Exact quoting and reference of specification passages to support learning, debugging, and implementation.
  • Real-world scenarios illustrating token creation, signing, and redemption within the Cashu ecosystem, including keysets and spending conditions.

Quick Start

Ask me to summarize a scenario by citing exact NUT sections and mapping each concept to the wallet and mint workflows.

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 minting and swapping tokens?

The Cashu protocol defines minting and swapping via specific NUT specifications governing wallet-mint interactions. It establishes exact state transitions using token formats, keysets, and proof handling to securely create and exchange ecash.

What is a Cashu keyset and how does it affect proof handling?

A Cashu keyset defines the cryptographic signing parameters for ecash proofs. Proof handling depends on these keysets to validate token state transitions during minting, swapping, and melting, strictly following NUT-00 to NUT-27 rules.

How do I implement Cashu wallet and mint interactions for melting ecash?

Implement Cashu melting by applying exact state transitions and token redemption rules from the NUT specifications. The protocol specifies how wallets submit proofs to mints for melting, citing precise specification text for spending conditions.

Can I use Cashu NUT specifications to debug token creation and signing?

Yes, Cashu NUT specifications provide exact quoted passages and state transitions for token creation and signing. Map these specification rules directly to wallet-mint workflows to debug real-world scenarios within the ecash ecosystem.

What are the limitations of implementing Cashu protocol flows beyond NUT-27?

Cashu protocol specifications are strictly defined from NUT-00 through NUT-27. Implementations must not extrapolate beyond these documented boundaries to ensure wallet-mint interactions remain fully compliant with established ecash token formats and keyset rules.