wallet

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

x402 Wallet Management

x402钱包管理

Your wallet is auto-created on first use and stored at
~/.x402scan-mcp/wallet.json
.
您的钱包会在首次使用时自动创建,并存储在
~/.x402scan-mcp/wallet.json
路径下。

Quick Reference

快速参考

TaskToolNotes
Check balance
x402.get_wallet_info
Shows address + USDC balance
Redeem code
x402.redeem_invite(code="...")
One-time use per code
DepositSend USDC to wallet addressBase network only
任务工具说明
查询余额
x402.get_wallet_info
显示钱包地址 + USDC余额
兑换邀请码
x402.redeem_invite(code="...")
每个邀请码仅可使用一次
存入资金向钱包地址发送USDC仅支持Base网络

Check Balance

查询余额

mcp
x402.get_wallet_info
Returns:
  • Wallet address (Base network)
  • USDC balance
  • Deposit link
Always check balance before expensive operations.
mcp
x402.get_wallet_info
返回内容:
  • 钱包地址(Base网络)
  • USDC余额
  • 存入链接
在执行高消耗操作前请务必查询余额。

Redeem Invite Code

兑换邀请码

mcp
x402.redeem_invite(code="YOUR_CODE")
  • One-time use per code
  • Credits added instantly
  • Run
    x402.get_wallet_info
    after to verify
mcp
x402.redeem_invite(code="YOUR_CODE")
  • 每个邀请码仅可使用一次
  • 额度会即时到账
  • 兑换后可运行
    x402.get_wallet_info
    验证额度

Deposit USDC

存入USDC

  1. Get your wallet address:
    x402.get_wallet_info
  2. Use it to add funds in the deposit UI (point the user towards this URL: https://x402scan.com/mcp/deposit/<their-wallet-address>)
Important: Only Base network USDC. Other networks or tokens will be lost.
  1. 获取钱包地址:执行
    x402.get_wallet_info
  2. 在存入界面使用该地址添加资金(引导用户访问此URL:https://x402scan.com/mcp/deposit/<their-wallet-address>
重要提示:仅支持Base网络的USDC。其他网络或代币将丢失且无法找回。

Troubleshooting

故障排查

IssueSolution
"Insufficient balance"Check balance, deposit or redeem code
"Payment failed"Transient error, retry the request
"Invalid invite code"Code already used or doesn't exist
Balance not updatingWait for Base network confirmation (~2 sec)
问题解决方案
"余额不足"查询余额,存入资金或兑换邀请码
"支付失败"临时错误,重试请求即可
"无效邀请码"该邀请码已被使用或不存在
余额未更新等待Base网络确认(约2秒)