snackmoney-testing
v0.0.6
Published
A CLI tool for sending USDC payments on Twitter and Farcaster using x402.
Downloads
30
Maintainers
Readme
🍪 Snackmoney CLI
Send USDC payments and rewards to users on platforms like Twitter and Farcaster — all from your terminal.
Smart Suggestions
If you mistype a command, Snackmoney will suggest the correct one:
snackmoney pey
# → Unknown command 'pey', Did you mean 'pay'?Installation
Option 1: Run with npx (No install needed)
npx snackmoney <command> [options]Option 2: Install globally with npm
npm install -g snackmoney
snackmoney <command> [options]Option 3: Install with Homebrew (macOS/Linux)
brew tap your-org/snackmoney
brew install snackmoney
snackmoney <command> [options]Help
To see all available commands:
snackmoney --helpTo check the version:
snackmoney --versionSetup
Securely store your private key to .env:
snackmoney envCommands
pay
Send USDC to a single user.
snackmoney pay -i twitter -u alice -a 10batch-pay
Send USDC to multiple users with a JSON string:
snackmoney batch-pay -i farcaster -r '[{"username":"bob","amount":15},{"username":"carol","amount":20}]'create-reward-distribution
Create a reward distribution order for content.
snackmoney create-reward-distribution -b 100 -p twitter -c 1234567890confirm-reward-distribution
Confirm and execute the reward distribution.
snackmoney confirm-reward-distribution -o order_abc123