wallet
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesex402 Wallet Management
x402钱包管理
Your wallet is auto-created on first use and stored at .
~/.x402scan-mcp/wallet.json您的钱包会在首次使用时自动创建,并存储在路径下。
~/.x402scan-mcp/wallet.jsonQuick Reference
快速参考
| Task | Tool | Notes |
|---|---|---|
| Check balance | | Shows address + USDC balance |
| Redeem code | | One-time use per code |
| Deposit | Send USDC to wallet address | Base network only |
| 任务 | 工具 | 说明 |
|---|---|---|
| 查询余额 | | 显示钱包地址 + USDC余额 |
| 兑换邀请码 | | 每个邀请码仅可使用一次 |
| 存入资金 | 向钱包地址发送USDC | 仅支持Base网络 |
Check Balance
查询余额
mcp
x402.get_wallet_infoReturns:
- 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 after to verify
x402.get_wallet_info
mcp
x402.redeem_invite(code="YOUR_CODE")- 每个邀请码仅可使用一次
- 额度会即时到账
- 兑换后可运行验证额度
x402.get_wallet_info
Deposit USDC
存入USDC
- Get your wallet address:
x402.get_wallet_info - 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.
- 获取钱包地址:执行
x402.get_wallet_info - 在存入界面使用该地址添加资金(引导用户访问此URL:https://x402scan.com/mcp/deposit/<their-wallet-address>)
重要提示:仅支持Base网络的USDC。其他网络或代币将丢失且无法找回。
Troubleshooting
故障排查
| Issue | Solution |
|---|---|
| "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 updating | Wait for Base network confirmation (~2 sec) |
| 问题 | 解决方案 |
|---|---|
| "余额不足" | 查询余额,存入资金或兑换邀请码 |
| "支付失败" | 临时错误,重试请求即可 |
| "无效邀请码" | 该邀请码已被使用或不存在 |
| 余额未更新 | 等待Base网络确认(约2秒) |