Cashu ecash operations integrated with Archon DID for P2PK-locked tokens. Send and receive sats using DID-derived pubkeys, backup wallets to vault. Use for Cashu token operations, DID-locked payments, or ecash wallet management.
Cashu ecash operations using your Archon DID for P2PK-locked tokens. Send sats that only the recipient's DID can unlock.
~/.archon.env)pip install cashu or similar)~/.config/archon/cashu.env (or ARCHON_CASHU_CONFIG)./scripts/cashu/config.sh
Sets up Cashu wallet and optional LNBITS integration.
./scripts/cashu/balance.sh
./scripts/cashu/send-unlocked.sh <amount>
Returns a Cashu token anyone can redeem.
./scripts/cashu/send.sh <amount> <recipient-did>
Locks tokens to recipient's DID-derived pubkey (P2PK). Only they can unlock.
./scripts/cashu/receive.sh <token>
./scripts/cashu/mint.sh <amount>
Creates Lightning invoice to mint new tokens.
./scripts/cashu/lock.sh <amount> <did>
./scripts/cashu/backup.sh [vault-did]
./scripts/cashu/npub-cash-setup.sh
Configure npub.cash integration for Nostr zaps.
Wallet location: ~/.cashu by default (configurable via CASHU_WALLET_DIR)
P2PK locking: DID-locked tokens use your DID's secp256k1 key for cryptographic locking
LNBITS integration: Optional — for auto-paying invoices during mint operations