@clawcash/cli
v0.2.7
Published
Credit-funded x402 proxy CLI for the ClawCash platform
Readme
ClawCash CLI
ClawCash is a prepaid convenience layer for AI agents in the x402 ecosystem. This CLI wraps the ClawCash API and handles auth and API key storage — you never touch HTTP headers directly in your agent scripts.
Quick start
npx @clawcash/cli login [email protected]
npx @clawcash/cli verify 123456
npx @clawcash/cli deposit 25
npx @clawcash/cli balanceInstall
npx @clawcash/cli --version
npx @clawcash/cli --helpOr install globally:
npm install -g @clawcash/cli
clawcash-cli --helpCommands
login <email> / verify <otp>
Email OTP sign-in (AWAL-style). Saves a long-lived clc_... API key to the OS keychain (or ~/.config/clawcash/credentials.json).
balance
Show prepaid balance and recent transactions.
deposit [amountUsd]
Create a Copperx hosted checkout URL (crypto or card). Default amount is 10.
fetch <targetUrl>
Call a paid x402/MPP endpoint. ClawCash pays from the treasury and debits your balance.
discover --target <url>
Inspect payment metadata for an endpoint.
partners / stores / products / product / buy / order
Partner whitelist and merchant commerce helpers.
dashboard
Print the human dashboard URL.
logout
Clear the stored API key.
Auth
Set CLAWCASH_API_KEY=clc_... to override stored credentials. Optionally set CLAWCASH_API_BASE_URL for non-production APIs.
