← 返回
开发者工具 Key

circle-wallet

USDC wallet capabilities for OpenClaw agents via Circle Developer-Controlled Wallets
通过 Circle Developer-Controlled Wallets 为 OpenClaw 代理提供 USDC 钱包功能。
eltontay
开发者工具 clawhub v1.0.17 1 版本 99108.9 Key: 需要
★ 5
Stars
📥 4,905
下载
💾 585
安装
1
版本
#latest

概述

Circle Wallet Skill

USDC wallet operations for OpenClaw agents via Circle Developer-Controlled Wallets.

Features

  • Create SCA wallets (Smart Contract Accounts)
  • Check USDC balances across multiple chains
  • Send USDC to any address
  • Gas-free transactions via Circle Gas Station
  • Multi-wallet management with address or ID
  • Address validation and balance checking
  • 21 supported blockchains (mainnets + testnets)

Installation

clawhub install circle-wallet
cd ~/.openclaw/workspace/skills/circle-wallet
npm install
npm link

Quick Start

1. Get API Key

Get your API key from https://console.circle.com

2. Setup

New users:

circle-wallet setup --api-key your-api-key

Existing users:

circle-wallet configure --api-key your-key --entity-secret your-secret

3. Create Wallet & Get Funds

circle-wallet create "My Wallet"
circle-wallet drip                    # Testnet only
circle-wallet balance

4. Send USDC

circle-wallet send 0x... 10 --from 0x...

All Commands

# Setup
circle-wallet setup --api-key <key>                          # Generate and register entity secret
circle-wallet configure --api-key <key> --entity-secret <s>  # Use existing credentials
circle-wallet config                                         # View configuration

# Chains
circle-wallet chains                   # List all supported blockchains
circle-wallet chains --show-tokens     # Show USDC token IDs
circle-wallet chains --mainnet         # Mainnets only
circle-wallet chains --testnet         # Testnets only

# Wallets
circle-wallet create [name] [--chain <blockchain>]   # Create new SCA wallet
circle-wallet list                                    # List all wallets with balances
circle-wallet balance [wallet-id]                     # Check balance

# Transactions
circle-wallet send <to> <amount> [--from <wallet-id-or-address>]  # Auto-detects chain from wallet
circle-wallet drip [address]                                       # Get testnet USDC (sandbox only)

Supported Chains

Mainnets (10):

APTOS, ARB, AVAX, BASE, ETH, MONAD, OP, MATIC, SOL, UNI

Testnets (11):

APTOS-TESTNET, ARB-SEPOLIA, ARC-TESTNET, AVAX-FUJI, BASE-SEPOLIA, ETH-SEPOLIA, MONAD-TESTNET, OP-SEPOLIA, MATIC-AMOY, SOL-DEVNET, UNI-SEPOLIA

Use circle-wallet chains --show-tokens to see USDC token IDs for each chain.

Usage Examples

Multi-Chain Wallets

# Create wallets on different chains (default: ARC-TESTNET for sandbox)
circle-wallet create "Arc Wallet" --chain ARC-TESTNET
circle-wallet create "Base Wallet" --chain BASE-SEPOLIA
circle-wallet create "Polygon Wallet" --chain MATIC-AMOY

# Send automatically uses the correct chain for each wallet
circle-wallet send 0xRecipient... 5 --from 0xArcWallet...
circle-wallet send 0xRecipient... 3 --from 0xPolygonWallet...

Send Between Wallets

# Create two wallets
circle-wallet create "Wallet 1"
circle-wallet create "Wallet 2"

# Fund first wallet
circle-wallet drip

# Send from wallet 1 to wallet 2 (using addresses)
circle-wallet send 0xWallet2Address... 5 --from 0xWallet1Address...

Agent Usage

User: "Check my wallet balance"
Agent: [circle-wallet balance] "You have 42.5 USDC"

User: "Send 10 USDC to 0x123..."
Agent: [circle-wallet send 0x123... 10] "Sent! TX: 0xabc..."

Configuration

Credentials stored in: ~/.openclaw/circle-wallet/

Environment variables:

  • CIRCLE_API_KEY - Required for setup command
  • CIRCLE_ENV - Optional: sandbox or production (default: sandbox)

Troubleshooting

"No wallet configured"

circle-wallet create "My Wallet"

"Insufficient balance"

circle-wallet drip              # Testnet only
# Or fund wallet externally for mainnet

"Entity secret already registered"

circle-wallet configure --api-key <key> --entity-secret <secret>

"Invalid Ethereum address format"

Address must be 0x followed by 40 hexadecimal characters.

Resources

  • Circle Developer Docs: https://developers.circle.com
  • Circle Console: https://console.circle.com
  • GitHub: https://github.com/eltontay/clawhub_circle_wallet_skill

License

MIT


Personal project for the OpenClaw community. Not officially endorsed by Circle.

版本历史

共 1 个版本

  • v1.0.17 当前
    2026-03-28 09:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,021
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,791
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727