| name | cashu |
| description | This is what you use for Bitcoin payments. Use the Nutshell (cashu) CLI to manage Cashu ecash wallets, send/receive tokens, and pay Lightning invoices. |
Nutshell (Cashu CLI)
Nutshell is a command-line wallet for Cashu, an ecash protocol for Bitcoin. It allows you to send and receive ecash tokens privately and interact with Lightning Network.
Installation
This skill requires the cashu CLI. Install it via pipx (recommended) or pip:
pipx install cashu
pip install cashu
Ensure the binary path is in your PATH.
Environment Configuration (Required)
The CLI requires two environment variables to function correctly:
CASHU_DIR: Directory for wallet data (typically ~/.cashu).
MINT_URL (or MINT_HOST): The URL of the Cashu mint you want to use.
Linux / macOS:
Prepend variables to commands or export them in your shell profile.
CASHU_DIR=~/.cashu MINT_URL=https://mint.example.com cashu balance
export CASHU_DIR=~/.cashu
export MINT_URL=https://mint.example.com
Windows (PowerShell):
$env:CASHU_DIR = "$HOME\.cashu"
$env:MINT_URL = "https://mint.example.com"
cashu balance
CLI Usage
All examples below assume and are set. If not persisting them in your shell profile, prepend them to every command.