lightning-wallet

Implement a standalone Lightning wallet using Cashu mints with IndexedDB storage.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to implement a standalone Lightning wallet powered by Cashu mints, providing a complete end-to-end solution for receiving and sending payments, mint management, and transaction history.

Core Features & Use Cases

  • Receive Lightning payments: Create mint quotes to generate Lightning invoices and convert them into Cashu-backed balance.
  • Send Lightning payments: Create melt quotes to pay Lightning invoices using wallet balance.
  • Mint management: Add, trust, or remove multiple Cashu mints and manage the active mint.
  • Audit-ready history: Track and display mint/melt transactions and wallet activity.
  • Lightning integration: Seamless support for Lightning addresses and BOLT11 invoices, with QR codes for invoices.

Quick Start

Install dependencies, initialize the wallet with IndexedDB-backed Coco, and run the UI to manage mints and start minting (receive) and melting (send) Lightning payments.

Frequently Asked Questions about lightning-wallet

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

FAQPage Schema
How do I build a standalone Lightning wallet with Cashu mints?

You can build a standalone Lightning wallet with Cashu by initializing IndexedDB-backed Coco, adding mints, and generating mint or melt quotes to receive and send BOLT11 Lightning payments.

How does receiving Lightning payments work with Cashu mints?

Receiving Lightning payments with Cashu involves creating mint quotes to generate BOLT11 invoices, which when paid, convert the Lightning payment into Cashu-backed wallet balance.

Can I manage multiple Cashu mints and track wallet transaction history?

Yes, you can add, trust, and remove multiple Cashu mints to manage your active mint, while the wallet tracks an audit-ready transaction history of all mint and melt activities.

What dependencies do I need to integrate for a Cashu Lightning wallet?

A Cashu Lightning wallet requires the coco-cashu-core library with IndexedDB storage, plus integration of qr-code-generator, lightning-address, lightning-invoice-decoder, and exchange-rates skills.

How do I send Lightning payments using Cashu wallet balance?

You send Lightning payments using Cashu by creating melt quotes to pay BOLT11 invoices or Lightning addresses, which deducts the specified amount from your Cashu-backed wallet balance.

Does the Cashu Lightning wallet support Lightning addresses and QR codes?

Yes, the Cashu Lightning wallet integrates Lightning address support and BOLT11 invoice decoding, utilizing QR code generation for invoices to provide end-to-end wallet functionality.