recharge-skill

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Recharge Skill

充值Skill

This skill owns the local BANK OF AI account query layer and the remote BANK OF AI recharge flow. The server must not store the user's account API key.
该Skill包含本地BANK OF AI账户查询层与远程BANK OF AI充值流程。服务器不得存储用户的账户API密钥。

When To Use

使用场景

Use this skill for requests such as:
  • recharge 1 usdt
  • recharge my BANK OF AI account with 1 usdt
  • Chinese requests such as
    给 BANK OF AI 充值 1 USDT
  • Chinese requests such as
    通过 https://recharge.bankofai.io/mcp 给 BANK OF AI 充值 1 usdt
  • check my BANK OF AI balance
  • list my BANK OF AI orders
以下场景可使用该Skill:
  • recharge 1 usdt
  • recharge my BANK OF AI account with 1 usdt
  • 中文请求如
    给 BANK OF AI 充值 1 USDT
  • 中文请求如
    通过 https://recharge.bankofai.io/mcp 给 BANK OF AI 充值 1 usdt
  • check my BANK OF AI balance
  • list my BANK OF AI orders

Scope

适用范围

  • The BANK OF AI API key is managed by the local agent / skill.
  • Balance and order queries should call BANK OF AI directly from local scripts.
  • Recharge and payment flows should use the remote MCP endpoint
    https://recharge.bankofai.io/mcp
    .
  • Use the MCP tool
    recharge
    for all supported recharge routes such as
    USDT
    .
  • Do not use native
    TRX
    recharge flows from this skill.
  • If the requested token is not a supported TRC20 token, return the server validation error to the user.
  • BANK OF AI API密钥由本地Agent/Skill管理。
  • 余额与订单查询需通过本地脚本直接调用BANK OF AI接口。
  • 充值与支付流程需使用远程MCP端点
    https://recharge.bankofai.io/mcp
  • 所有支持的充值渠道(如USDT)均需使用MCP工具
    recharge
  • 不得通过该Skill使用原生TRX充值流程。
  • 若请求的代币为不支持的TRC20代币,需将服务器验证错误返回给用户。

Recharge Flow

充值流程

For a request like
recharge 1 usdt
, use the remote MCP endpoint directly and call:
  • recharge(amount="1", token="USDT")
Return the settlement status, transaction hash, token, and amount to the user after the MCP call completes.
对于诸如
recharge 1 usdt
的请求,直接调用远程MCP端点:
  • recharge(amount="1", token="USDT")
MCP调用完成后,需向用户返回结算状态、交易哈希、代币类型及金额信息。

Local Configuration

本地配置

This skill is configured for BANK OF AI production.
Resolution order:
  1. CLI arguments
  2. Environment variables
  3. bankofai-config.json
  4. ~/.bankofai/config.json
  5. ~/.mcporter/bankofai-config.json
See
bankofai-config.example.json
for an example.
Supported fields:
  • api_key
  • base_url
  • timeout_ms
Recommended production value:
  • base_url = https://chat.ainft.com
该Skill已针对BANK OF AI生产环境配置。
配置优先级顺序:
  1. CLI参数
  2. 环境变量
  3. bankofai-config.json
  4. ~/.bankofai/config.json
  5. ~/.mcporter/bankofai-config.json
配置示例可参考
bankofai-config.example.json
支持的配置字段:
  • api_key
  • base_url
  • timeout_ms
生产环境推荐配置值:
  • base_url = https://chat.ainft.com

Available Scripts

可用脚本

  • node scripts/check_balance.js --format json
    • Query the user's point balance with
      api_key
  • node scripts/check_orders.js --format json
    • Query
      order.listOrders
  • node scripts/check_balance.js --format json
    • 使用
      api_key
      查询用户积分余额
  • node scripts/check_orders.js --format json
    • 查询
      order.listOrders
      接口