Skip to main content
The send command allows you to send USDC to a single user on X (Twitter), Farcaster, GitHub, Email, or Web.

Syntax

snackmoney send <platform/username> <amount> [options]

Parameters

platform/username

The recipient’s platform and username in the format platform/username. Supported platforms:
PlatformFormatsExample
X (Twitter)x/username
x.com/username
twitter/username
twitter.com/username
x/aeyakovenko
Farcasterfarcaster/username
farcaster.xyz/username
farcaster/toly
GitHubgithub/username
github.com/username
github/octocat
Emailemail/addressemail/[email protected]
Webweb/domainweb/snack.money
Username should be provided without the @ symbol.

amount

The amount of USDC to send. Supports multiple formats:
  • Cents notation: , 50¢, 99¢
  • Dollar notation: $0.01, $0.50, $1
  • Decimal notation: 0.01, 0.50, 1

Options

—network

Specify which blockchain network to use:
  • base - Use Base network (EVM)
  • solana - Use Solana network (SVM)
If not specified, the CLI auto-detects based on which private key is configured.
snackmoney send x/username 0.01 --network base
snackmoney send x/username 0.01 --network solana

Examples

Send to X (Twitter) Users

# Using different platform formats
snackmoney send x/aeyakovenko
snackmoney send x.com/jessepollak $0.5
snackmoney send twitter.com/0xmesuthere 50¢

# Different amount formats
snackmoney send x/username        # Cents
snackmoney send x/username $0.01     # Dollars
snackmoney send x/username 0.01      # Decimal

Send to Farcaster Users

# Using different formats
snackmoney send farcaster/toly $1
snackmoney send farcaster.xyz/mesut 0.50

Send to GitHub Users

# Support open source developers
snackmoney send github/octocat
snackmoney send github.com/torvalds $1

Send to Email

# Send to email address
snackmoney send email/[email protected] $0.25

Send to Web Domain

# Send to web domain
snackmoney send web/snack.money 0.5

Specify Network

# Force Base network
snackmoney send x/username 0.01 --network base

# Force Solana network
snackmoney send x/username 0.01 --network solana

Output

After sending a payment, you’ll see:
🚀 Sending payment...
✅ Payment successful!

📊 Transaction Details:
   Amount: 0.01 USDC
   Receiver: @username
   Platform: X (Twitter)
   Network: Base
   Transaction: 0xabc...def

🧾 Receipt: https://snack.money/x/username?txn=...
The output includes:
  • Amount: USDC amount sent
  • Receiver: Username and platform
  • Network: Blockchain used (Base or Solana)
  • Transaction: On-chain transaction hash
  • Receipt: Link to view payment details

Prerequisites

Before using the send command:
  1. Set your private key: For Base:
    export EVM_PRIVATE_KEY="0x..."
    
    For Solana:
    export SVM_PRIVATE_KEY="your_base58_key"
    
  2. Ensure USDC balance: Your wallet must have sufficient USDC on the network you’re using.

Use Cases

Tipping Content Creators

# Tip a great tweet
snackmoney send x/creator 10¢

# Support a Farcaster post
snackmoney send farcaster/artist $0.50

Supporting Open Source

# Thank a maintainer
snackmoney send github/maintainer $5

# Fund a contributor
snackmoney send github/contributor $2

Quick Payments

# Pay for a service
snackmoney send x/freelancer $10

# Send a quick refund
snackmoney send farcaster/customer $3.50

Error Handling

Common Errors

“Insufficient USDC balance”
Your wallet doesn't have enough USDC. Check your balance and add funds.
“User not found”
The username doesn't exist on the specified platform. Verify the username.
“Invalid private key”
Check that your private key is correctly set and formatted.
“Network error”
Check your internet connection and try again.

Limits and Fees

  • Minimum amount: 0.01 USDC (1¢)
  • Maximum amount: No hard limit (subject to wallet balance)
  • Network fees: Standard blockchain fees apply
    • Base: Low gas fees (~0.0010.001-0.01)
    • Solana: Very low fees (~$0.00025)

Security

  • Your private key never leaves your machine
  • All transactions are signed locally
  • Payments are non-reversible (blockchain transactions)
  • Always verify the recipient before sending

Getting Help

View command-specific help:
snackmoney send --help

Additional Resources