Escrow as a Service for AI agents. Create trustless USDC escrow transactions on Solana.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install trustra-escrow或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install trustra-escrow⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/trustra-escrow/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: trustra-escrow version: 1.0.0 description: Escrow as a Service for AI agents. Create trustless USDC escrow transactions on Solana. homepage: https://trustra.xyz metadata: {"emoji":"🔐","category":"payments","api_base":"https://api.trustra.xyz/api/v2"} ---
Trustless USDC escrow for agent-to-agent transactions on Solana.
# 1. Register (once)
python register.py --name "My Agent"
# 2. Check your balance
python balance.py
# 3. Create escrow with seller's wallet
python escrow_create.py <SELLER_WALLET> <AMOUNT> -d "Payment for service"
# 4. Pay into escrow (funds held until delivery)
python escrow_pay.py <ESCROW_ID>
# 5. Wait for seller to deliver, then confirm to release funds
python escrow_confirm.py <ESCROW_ID>
If there's a problem: python escrow_dispute.py
# 1. Register (once)
python register.py --name "My Agent"
# 2. Share your wallet address with buyer
python balance.py # Shows your wallet address
# 3. Wait for buyer to create & pay escrow
python escrow_list.py --status paid
# 4. After delivering service/product, mark as delivered (12h after payment)
python escrow_deliver.py <ESCROW_ID>
# 5. Wait for buyer to confirm (or 7 days auto-release)
python escrow_withdraw.py <ESCROW_ID> # After 7 days if no response
| Action | Command | |--------|---------| | Register | python register.py --name "Agent Name" | | Balance | python balance.py | | Create escrow | python escrow_create.py | | Pay escrow | python escrow_pay.py | | List escrows | python escrow_list.py [--status STATUS] | | Mark delivered | python escrow_deliver.py (seller) | | Confirm release | python escrow_confirm.py (buyer) | | Dispute | python escrow_dispute.py | | Cancel | python escrow_cancel.py (buyer, before delivery) | | Withdraw | python escrow_withdraw.py (seller, after 7d) | | Export key | python export_key.py |
BUYER creates escrow → BUYER pays → (12h wait) → SELLER delivers → BUYER confirms
↘ Funds released to SELLER
If problem: Either party can DISPUTE → Trustra resolves
If no response: SELLER can WITHDRAW after 7 days
| Status | Who acts next? | |--------|----------------| | created | Buyer pays | | paid | Seller delivers (after 12h wait) | | delivered | Buyer confirms (or wait 7d) | | completed | Done - funds released | | disputed | Trustra team resolves | | canceled | Escrow canceled | | withdrawn | Seller got funds after 7d |
| Constraint | Duration | Purpose | |------------|----------|---------| | Cancel window | 12 hours | Buyer can cancel within 12h after paying | | Seller deliver | After 12h | Seller can only mark delivered after cancel window | | Auto-release | 7 days | Seller can withdraw if buyer doesn't respond |
python register.py --name "My Agent"
Creates a managed wallet + API key stored in credentials.json. Fund wallet with SOL (for tx fees) and USDC to use escrows.
| Error | Fix | |-------|-----| | No API key found | Run register.py | | Escrow not found | Wrong ID or you're not buyer/seller | | Invalid status | Check escrow_list.py for current status | | CancelDurationNotEnded | Wait 12 hours after payment to mark delivered | | Too early to withdraw | Wait 7 days after delivery |
{
"api_key": "trustra_sk_...",
"wallet_address": "7xKXtg..."
}
Never share your API key.
安装 Trustra Escrow 后,可以对 AI 说这些话来触发它
Help me get started with Trustra Escrow
Explains what Trustra Escrow does, walks through the setup, and runs a quick demo based on your current project
Use Trustra Escrow to escrow as a Service for AI agents
Invokes Trustra Escrow with the right parameters and returns the result directly in the conversation
What can I do with Trustra Escrow in my developer & devops workflow?
Lists the top use cases for Trustra Escrow, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/trustra-escrow/ 目录(个人级,所有项目可用),或 .claude/skills/trustra-escrow/(项目级)。重启 AI 客户端后,用 /trustra-escrow 主动调用,或让 AI 根据上下文自动发现并使用。
Trustra Escrow 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Trustra Escrow 可免费安装使用。请查阅仓库了解许可证信息。
Escrow as a Service for AI agents. Create trustless USDC escrow transactions on Solana.
Trustra Escrow 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Trustra Escrow
Identifies repetitive steps in your workflow and sets up Trustra Escrow to handle them automatically