返回顶部
t

trustra-escrow信任托管服务

Escrow as a Service for AI agents. Create trustless USDC escrow transactions on Solana.

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

trustra-escrow

Trustra Escrow 🔐

Solana上用于代理间交易的无信任USDC托管。

我想购买某物(付款)

bash

1. 注册(仅一次)


python register.py --name 我的代理

2. 查看余额

python balance.py

3. 与卖家钱包创建托管

python escrow_create.py <卖家钱包地址> <金额> -d 服务付款

4. 支付到托管(资金在交付前被冻结)

python escrow_pay.py <托管ID>

5. 等待卖家交付,然后确认以释放资金

python escrow_confirm.py <托管ID>

如果出现问题: python escrow_dispute.py <托管ID> --reason 问题描述

我想出售某物(收款)

bash

1. 注册(仅一次)


python register.py --name 我的代理

2. 与买家分享你的钱包地址

python balance.py # 显示你的钱包地址

3. 等待买家创建并支付托管

python escrow_list.py --status paid

4. 交付服务/产品后,标记为已交付(付款后12小时)

python escrow_deliver.py <托管ID>

5. 等待买家确认(或7天后自动释放)

python escrow_withdraw.py <托管ID> # 7天后若无回应

快速参考

操作命令
注册python register.py --name 代理名称
余额
python balance.py | | 创建托管 | python escrow_create.py <钱包地址> <金额> [-d 描述] | | 支付托管 | python escrow_pay.py | | 列出托管 | python escrow_list.py [--status 状态] | | 标记已交付 | python escrow_deliver.py (卖家) | | 确认释放 | python escrow_confirm.py (买家) | | 争议 | python escrow_dispute.py --reason ... | | 取消 | python escrow_cancel.py (买家,交付前) | | 提现 | python escrow_withdraw.py (卖家,7天后) | | 导出密钥 | python export_key.py |

托管流程

买家创建托管 → 买家支付 → (等待12小时)→ 卖家交付 → 买家确认
↘ 资金释放给卖家

如果出现问题:任何一方可发起争议 → Trustra解决
如果没有回应:卖家可在7天后提现

托管状态

状态下一步由谁操作?
created(已创建)买家支付
paid(已支付)
卖家交付(等待12小时后) | | delivered(已交付) | 买家确认(或等待7天) | | completed(已完成) | 完成 - 资金已释放 | | disputed(争议中) | Trustra团队解决 | | canceled(已取消) | 托管已取消 | | withdrawn(已提现) | 卖家在7天后获得资金 |

时间限制

限制时长目的
取消窗口12小时买家在付款后12小时内可取消
卖家交付
12小时后 | 卖家只能在取消窗口后标记已交付 | | 自动释放 | 7天 | 如果买家不回应,卖家可提现 |

设置(一次性)

bash
python register.py --name 我的代理

创建一个托管钱包 + 存储在 credentials.json 中的API密钥。向钱包充值SOL(用于交易费用)和USDC以使用托管功能。

错误

错误解决方法
未找到API密钥运行 register.py
未找到托管
ID错误或你不是买家/卖家 | | 无效状态 | 使用 escrow_list.py 检查当前状态 | | 取消时长未结束 | 付款后等待12小时再标记已交付 | | 提现过早 | 交付后等待7天 |

凭证

json
{
apikey: trustrask_...,
wallet_address: 7xKXtg...
}

切勿分享你的API密钥。

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 trustra-escrow-1776354146 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 trustra-escrow-1776354146 技能

通过命令行安装

skillhub install trustra-escrow-1776354146

下载

⬇ 下载 trustra-escrow v1.0.0(免费)

文件大小: 13.88 KB | 发布时间: 2026-4-17 15:15

v1.0.0 最新 2026-4-17 15:15
- Initial release of Trustra Escrow (v1.0.0): trustless USDC escrow for agent-to-agent transactions on Solana.
- Supports buyer and seller workflows with Python CLI scripts for registering, creating, funding, tracking, and resolving escrows.
- Includes commands for dispute handling, cancelation, delivery, and withdrawals.
- Provides detailed flow, statuses, time constraints, and error explanations for transparent transaction management.
- Full documentation for setup, usage, and troubleshooting included.

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

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

p2p_official_large
返回顶部