AgentSkillsCN

Wallets

钱包

SKILL.md

Wallets Skill

Trigger: /wallets, /wallet, check balance, send tokens, receive tokens, wallet setup

Manage your agent's multi-chain wallets across Flare, Base, HyperEVM, and Solana.

Commands

Check Balances

bash
node scripts/wallets.js balance
node scripts/wallets.js balance --network flare
node scripts/wallets.js balance --token USDT  # Check specific token

Send Tokens

bash
# Send native tokens
node scripts/wallets.js send --to 0x... --amount 10 --network flare

# Send ERC20 tokens
node scripts/wallets.js send --to 0x... --amount 100 --token USDT --network flare

# With confirmation (default: requires --confirm)
node scripts/wallets.js send --to 0x... --amount 10 --network flare --confirm

Receive (Show Addresses)

bash
node scripts/wallets.js receive
node scripts/wallets.js receive --network flare
node scripts/wallets.js receive --qr  # Show QR codes (if terminal supports)

Setup New Wallet

bash
node scripts/wallets.js setup --name "MyAgent"
node scripts/wallets.js setup --import "0x..."  # Import existing key

Export/Backup

bash
node scripts/wallets.js export --format json
node scripts/wallets.js export --format seed  # Show seed phrase (CAREFUL!)

Environment Variables

Required:

  • WALLET_KEYSTORE_PATH - Path to keystore directory
  • WALLET_PASSPHRASE - Passphrase to decrypt keystore

Optional:

Supported Networks

NetworkChain IDCurrencyType
Flare14FLREVM
Base8453ETHEVM
HyperEVM999HYPEEVM
Solana-SOLEd25519

Supported Tokens (Flare)

TokenAddressDecimals
WFLR0x1D80c49BbBCd1C0911346656B529DF9E5c2F783d18
USD₮00xe7cd86e13AC4309349F30B3435a9d337750fC82D6
FXRP0xAd552A648C74D49E10027AB8a618A3ad4901c5bE6
sFLR0x12e605bc104e93B45e1aD99F9e555f659051c2BB18

Safety Features

  • Confirmation required for all sends (use --confirm flag)
  • Balance check before sending
  • Gas estimation to prevent failed transactions
  • Address validation to prevent mistakes

Example Usage

Agent checking balances:

code
/wallets balance

Output:

code
💰 Wallet Balances
━━━━━━━━━━━━━━━━━━━
📍 0xDb35...ea9A

Flare:    125.50 FLR ($2.51)
Base:     0.05 ETH ($150.00)
HyperEVM: 10.00 HYPE
Solana:   2.5 SOL ($250.00)

Tokens (Flare):
  USD₮0:  50.00
  FXRP:   1,000.00
  sFLR:   100.00

Agent sending tokens:

code
/wallets send 10 FLR to 0x1234...

Output:

code
📤 Send Confirmation
━━━━━━━━━━━━━━━━━━━
Amount: 10 FLR
To: 0x1234...5678
Network: Flare
Gas: ~0.001 FLR

⚠️ Reply "confirm" to proceed