用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill trustra-escrow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
基于 SOC 职业分类
正在显示 SKILL.md
| 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 <ESCROW_ID> --reason "Issue description"
# 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 <WALLET> <AMOUNT> [-d "desc"] |
| Pay escrow | python escrow_pay.py <ID> |
| List escrows | python escrow_list.py [--status STATUS] |
| Mark delivered | python escrow_deliver.py <ID> (seller) |
| Confirm release | python escrow_confirm.py <ID> (buyer) |
| Dispute | python escrow_dispute.py <ID> --reason "..." |
| Cancel | python escrow_cancel.py <ID> (buyer, before delivery) |
| Withdraw | python escrow_withdraw.py <ID> (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.