cashu-wallet

Implement a Cashu token wallet with Lightning integration and QR code sharing.

Updated Dec 31, 2025
One-click install
npx skills add https://github.com/PerceptLabs/mvmnt --skill cashu-wallet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cashu-wallet
Source: https://github.com/PerceptLabs/mvmnt/tree/main/skills/cashu-wallet
Command: npx skills add https://github.com/PerceptLabs/mvmnt --skill cashu-wallet

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a blueprint to implement a secure and user-friendly Cashu token wallet, enabling developers to manage token creation, redemption, and sharing with ecosystem integrations.

Core Features & Use Cases

  • Lightning wallet integration: Seamless minting and melting flow to acquire and redeem tokens.
  • Token send/receive: End-to-end token operations including automatic mint management for unknown mints.
  • Token sharing: QR code generation and token encoding to simplify transfer via scans or text.
  • UI patterns: Drawer/modal-based send/receive flows in a React frontend with reliable balance updates and error handling.

Quick Start

Refer to the cashu-wallet implementation guide to start integrating token send/receive flows, QR code sharing, and mint management into your app.

Frequently Asked Questions about cashu-wallet

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

FAQPage Schema
How do I implement a Cashu token wallet in React?

To implement a Cashu token wallet in React, use this Skill's blueprint for drawer-based send/receive flows, token encoding, and balance updates with coco-cashu-core, @cashu/cashu-ts, and qr-code-generator dependencies.

How does Cashu wallet integration handle unknown Lightning mints?

Cashu wallet integration handles unknown Lightning mints through automatic mint management, ensuring tokens from unregistered mints are securely processed without manual configuration during the receive flow.

What's the best way to generate a QR code for sharing Cashu tokens?

The best way to generate a QR code for sharing Cashu tokens is by using the qr-code-generator dependency within this Skill's React frontend to encode tokens for easy scanning and transfer.

Does this Cashu token implementation require Lightning wallet integration?

Yes, this Cashu token implementation requires Lightning wallet integration to execute the minting and melting flows needed to acquire and redeem tokens securely within the application.

How do I handle errors and balance updates when sending Cashu tokens?

To handle errors and balance updates when sending Cashu tokens, apply the UI patterns defined in this Skill's React implementation, which ensure reliable state management and secure token sharing workflows.

Can I use @cashu/cashu-ts to build custom token send and receive flows?

Yes, you can use @cashu/cashu-ts alongside coco-cashu-core to build custom Cashu token send and receive flows, utilizing the provided UI patterns for secure drawer-based operations.