cocod

Manage Cashu wallets and payments via a local CLI daemon.

12|4|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Egge21M/cocod --skill cocod
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cocod
Source: https://github.com/Egge21M/cocod/tree/main
Command: npx skills add https://github.com/Egge21M/cocod --skill cocod

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cashu wallet management and payment flows are complex to implement manually. This Skill provides a self-contained, local CLI daemon to initialize, unlock, and operate a Cashu wallet, including ecash tokens, Lightning payments, and HTTP 402 X-Cashu flows.

Core Features & Use Cases

  • Initialize and secure a Cashu wallet and manage the wallet lifecycle locally.
  • Perform receive and send flows for Cashu tokens and Bolt11 invoices.
  • Handle HTTP 402 X-Cashu requests by parsing and handling them end-to-end; view and search transaction history.

Quick Start

Initialize a wallet with cocod and then check your balance.

Frequently Asked Questions about cocod

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

FAQPage Schema
How do I manage a Cashu wallet from the command line?

You can manage a Cashu wallet from the command line by using a local CLI daemon to initialize wallets, check balances, and send or receive ecash tokens. This approach handles the wallet lifecycle and local state securely.

How do I handle HTTP 402 X-Cashu requests for Lightning payments?

Handling HTTP 402 X-Cashu requests involves parsing the request end-to-end and processing the embedded Cashu tokens or Bolt11 invoices. A local CLI daemon can automate this flow, including paying the invoice and retrieving the protected content.

Can I send and receive Bolt11 invoices using a Cashu CLI?

Yes, a Cashu CLI can send and receive Bolt11 invoices alongside standard ecash tokens. It interfaces with the Lightning ecosystem to process payments and update your local wallet balance accordingly.

What is the best way to view Cashu wallet transaction history locally?

Viewing Cashu wallet transaction history locally is best done through a CLI daemon that maintains robust state management. It allows you to explore, view, and search your past ecash token transfers and Lightning payments.

Do I need a daemon to initialize and unlock a Cashu wallet?

Yes, initializing and unlocking a Cashu wallet requires a local daemon to securely manage the wallet lifecycle and state. The daemon provides a production-grade API interface to handle errors and ensure robust operations.

Why use a CLI daemon for Cashu token management instead of manual implementation?

Using a CLI daemon for Cashu token management solves the complexity of manually implementing payment flows. It provides secure, built-in handling for ecash tokens, Bolt11 invoices, and X-Cashu requests with robust error handling.