Skip to main content
The Snack Money CLI is a command-line tool for sending USDC payments to users on X (Twitter), Farcaster, GitHub, Email, and Web using the x402 protocol.

Key Features

  • No wallet addresses needed - Send to social usernames directly
  • Multi-chain support - Works on Base and Solana networks
  • Batch payments - Send to multiple users at once
  • AI agent mode - Use natural language for payments
  • Simple installation - No setup required with npx

Supported Platforms

Send USDC payments to users on these platforms:

Supported Networks

  • Base - EVM-compatible chain (requires EVM_PRIVATE_KEY)
  • Solana - SVM chain (requires SVM_PRIVATE_KEY)
The CLI automatically detects which network to use based on your configured private key.

Available Commands

send - Single Payment

Send USDC to a single user:
Learn more →

batch-send - Batch Payments

Send to multiple users at once:
Learn more →

ai-agent - AI-Powered Payments

Use natural language to describe payments:
Learn more →

Amount Formats

The CLI supports flexible amount formats:
  • Cents: , 50¢, 99¢
  • Dollars: $0.01, $0.5, $1
  • Decimal: 0.01, 0.5, 1
All amounts are processed as USDC.

Quick Start

Get started in 3 steps:
  1. Set your private key:
  2. Run a payment:
  3. Check the receipt: The CLI returns a receipt URL to view your payment.
See detailed quick start guide →

Installation Options

Choose your preferred installation method: No installation required:

npm Global

Install globally:

Homebrew

For macOS/Linux:
See all installation options →

Why Use the CLI?

  • Quick testing - Test the API without writing code
  • Scripting - Automate payments in shell scripts
  • Batch operations - Process multiple payments efficiently
  • No dependencies - Works standalone with npx
  • Developer-friendly - Simple, intuitive commands

Next Steps