返回顶部
B

Bank of Bots机器人银行

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
187
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

Bank of Bots

设置

如果尚未连接,请按照设置指南操作:https://app.bankofbots.ai/docs/agent-setup

连接后,所有 API 调用需要以下凭证:

  • - BOBAPIKEY — 您的代理 API 密钥
  • BOBAGENTID — 您的代理 ID
  • BOBAPIURL — https://api.bankofbots.ai/api/v1

您可以使用 bob CLI(可选)或直接调用 REST API。所有命令输出结构化 JSON,包含 ok 字段和用于建议后续命令的 next_actions。

非托管 v0 模式说明:使用 BTC 轨道(lightning、onchain)和证明流程。直接托管入口端点(wallet fund、wallet receive、receive confirm、operator fund)返回 409 Conflict。

核心概念

  • - 代理:具有自身身份、钱包和支出策略的 AI 代理
  • 钱包:持有特定货币(USD、BTC、USDC)的余额。每个代理可拥有多个钱包。
  • 策略:限制代理行为的支出限额、速率限制和紧急开关
  • 交易:资金进出钱包的记录
  • 付款:向外部银行账户(ACH、电汇)或内部账户(book)的对外付款
  • 交易对手:用于 ACH/电汇付款的已保存银行账户目的地
  • 服务门:调用者通过提交已完成付款意图解锁的定价操作

命令

检查身份

bash
bob auth me

返回您的角色(代理或操作员)、身份详情和基于角色的 next_actions。

代理详情和钱包余额

bash
bob agent get

响应包含 wallets 数组,显示每个钱包的余额、货币、轨道和状态。

钱包管理

bash

列出代理的钱包


bob wallet list

向钱包充值(仅操作员,传统托管模式)

bob wallet fund --wallet-id --amount

生成收款发票或存款地址

bob wallet receive --rail lightning --amount bob wallet receive --rail onchain

在非托管 v0 模式下禁用 receive(409 Conflict)

获取/设置钱包预算(最小货币单位)

bob wallet budget get --wallet-id bob wallet budget set --wallet-id --amount

bob wallet list 现在在每个钱包上包含 bob_address 字段(当存在默认代理地址时)。
在非托管 v0 模式下,bob wallet fund 和 bob wallet receive 被有意禁用(409 Conflict)。

标志描述
--rail必填:lightning 或 onchain(按轨道自动选择钱包)
--wallet-id
特定钱包 ID(覆盖 --rail 查找) |
| --amount | 请求的聪数(lightning 必填) |
| --currency | 当多个钱包共享同一轨道时的 BTC 提示 |
| --memo | 可选的付款描述 |
| --expiry-seconds | lightning 发票 TTL(默认 900) |

返回包含可付款发票、地址或账户详情的 data.instructions。

一次性发送(自动报价 + 执行)

bash
bob send --amount [--currency BTC]

目的地自动检测:

  • - → 同一操作员内部转账
  • jade@bankofbots.ai → 路由为 bob_address(默认 BTC)
  • lnbc... → Lightning 发票(BTC)
  • bc1.../bcrt1.../tb1... → 链上 BTC 地址

标志描述
--amount必填。最小货币单位
--currency
覆盖自动检测的货币 |
| --priority | cheapest、fastest 或 balanced(默认:balanced) |
| --description | 可选的付款备注 |
| --max-fee | 可接受的最大费用 |
| --rail | 固定到特定轨道 |
| --destination-type | 覆盖自动检测:raw、bankcounterparty、unitaccount、bob_address |

一步完成报价和执行。返回 intentid、paymentid 和 quotesummary。失败时,nextactions 包含精确的恢复命令。

CLI 配置检查

bash

显示活动的 api_url、平台、配置文件路径和来源(env/config/default)


bob config show

无需重新初始化即可更新单个配置值

bob config set api-url bob config set platform

记录交易(从钱包支出)

bash
bob tx record --amount --currency BTC

标志描述
--amount必填。最小货币单位金额(USD 为分,BTC 为聪)
--currency
USD、BTC 或 USDC(默认:BTC) | | --rail | auto、lightning、onchain、card、ach、wire、book(默认:auto) | | --endpoint | 目标端点或商户标识符 | | --wallet-id | 要扣款的特定钱包(省略时自动选择) |

向其他代理转账

bash
bob tx transfer --to-agent-id --amount --currency BTC

标志描述
--to-agent-id必填。目标代理 ID
--amount
必填。最小货币单位金额 | | --currency | USD、BTC 或 USDC(默认:BTC) | | --description | 可选的备注 |

创建对外付款(传统 USD 轨道:ACH、电汇或 book)

bash

ACH 或电汇 — 需要已保存的交易对手


bob payments create --amount --rail ach --counterparty-id

Book 转账 — 即时,内部账户之间

bob payments create --amount --rail book --to-account-id
标志描述
--amount必填。最小货币单位金额
--rail
ach、wire 或 book(默认:auto) | | --counterparty-id | ACH/电汇必填。已保存的银行账户 ID | | --to-account-id | book 必填。目标账户 ID | | --description | 可选的备注 |

检查付款状态

bash
bob payments get

如果状态为 pending 或 clearing,next_actions 将建议重新检查。

管理交易对手(已保存的银行账户)

bash

创建


bob payments counterparties create \
--name Vendor Inc \
--routing-number 021000021 \
--account-number 123456789 \
--account-type checking

列出

bob payments counterparties list

删除

bob payments counterparties delete

报价和执行付款(意图工作流)

意图工作流在执行前报价路由,让您了解费用、预计到达时间和可用轨道。

bash

报价付款路由(显示带费用和预计到达时间的排名选项)


bob intent quote --amount --destination-type raw --destination-ref

执行已报价的意图(默认使用最佳报价)

bob intent execute [--quote-id ]

检查意图状态和路由详情

bob intent get

列出最近的意图

bob intent list
标志描述
--amount必填。最小货币单位金额
--destination-type
raw、bankcounterparty、unitaccount 或 bob_address | | --destination-ref | 原始发票/地址、交易对手 ID、Unit 账户 ID 或 alias@bankofbots.ai | | --priority | cheapest、fastest 或 balanced(默认:balanced) | | --execution-mode | auto 或 pinned(默认:auto) | | --rail | 固定到特定轨道(lightning、onchain、ach、wire、book) | |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 bank-of-bots-1776065229 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 bank-of-bots-1776065229 技能

通过命令行安装

skillhub install bank-of-bots-1776065229

下载

⬇ 下载 Bank of Bots v1.0.0(免费)

文件大小: 6.49 KB | 发布时间: 2026-4-15 11:50

v1.0.0 最新 2026-4-15 11:50
Initial release of Bank of Bots — a trust scoring and payment workflow toolkit for AI agents.

- Log and verify transactions to build a verifiable BOB Score (trust score) for AI agents.
- Supports agent identity, multiple wallets (USD, BTC, USDC), spend policies, and structured payment flows.
- Includes comprehensive CLI/API commands for checking balances, wallet management, payment initiation, transaction recording, and counterparty management.
- Enables both custodial and non-custodial (BTC Lightning/onchain) payment modes, with proof submission for non-custodial flows.
- Outputs structured JSON with actionable next steps for all commands.
- Features service gates to unlock actions by presenting completed payment proofs.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部