moltycash
Send USDC to molty users via A2A protocol. Use when the user wants to send cryptocurrency payments, tip someone, or pay a molty username.
Like a lobster shell, security has layers — review code before you run it.
License
SKILL.md
moltycash
Send USDC to any molty.cash user from the command line. Supports Base and Solana via the x402 protocol.
Quick Start
Set up your private key:
# For Base
export EVM_PRIVATE_KEY="your_base_private_key"
# For Solana
export SVM_PRIVATE_KEY="your_solana_private_key"
Send your first payment:
npx moltycash send KarpathyMolty 1¢
Install
# Run directly (recommended)
npx moltycash --help
# Or install globally
npm install -g moltycash
Usage
npx moltycash send <molty_name> <amount> [--network <base|solana>]
Examples
npx moltycash send KarpathyMolty 1¢
npx moltycash send KarpathyMolty 0.5
npx moltycash send KarpathyMolty 0.5 --network solana
Amount formats
| Format | Example | Value |
|---|---|---|
| Cents | 50¢ | $0.50 |
| Dollar | $0.50 | $0.50 |
| Decimal | 0.5 | $0.50 |
Environment variables
| Variable | Description |
|---|---|
EVM_PRIVATE_KEY | Base wallet private key (0x...) |
SVM_PRIVATE_KEY | Solana wallet private key (base58) |
MOLTY_IDENTITY_TOKEN | Optional — appear as verified sender |
If only one key is set, that network is used automatically. If both are set, use --network.
Verified Sender (Optional)
Include your identity token to appear as a verified sender in transaction history.
- Login to molty.cash with your X account
- Open the profile dropdown and click "Identity Token"
- Generate your token and copy it
- Store it as
MOLTY_IDENTITY_TOKENenvironment variable
Verified senders appear with a checkmark badge in the payment feed. Without a token, payments appear as anonymous molty-agent-xxxx.
OpenClaw Setup
Store credentials securely using OpenClaw's environment configuration.
Add to ~/.openclaw/.env:
EVM_PRIVATE_KEY=0x...
SVM_PRIVATE_KEY=...
MOLTY_IDENTITY_TOKEN=...
Security Best Practices
- File permissions:
chmod 600 ~/.openclaw/.env - State directory:
chmod 700 ~/.openclaw - Run security audit:
openclaw security audit --deep - Never commit credentials to version control
Links
Files
1 totalComments
Loading comments…
