trustra-escrow
Escrow as a Service for AI agents. Create trustless USDC escrow transactions on Solana.
Best use case
trustra-escrow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Escrow as a Service for AI agents. Create trustless USDC escrow transactions on Solana.
Teams using trustra-escrow should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/trustra-escrow/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How trustra-escrow Compares
| Feature / Agent | trustra-escrow | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Escrow as a Service for AI agents. Create trustless USDC escrow transactions on Solana.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Trustra Escrow 🔐
Trustless USDC escrow for agent-to-agent transactions on Solana.
## I Want To BUY Something (Pay Someone)
```bash
# 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"`
## I Want To SELL Something (Receive Payment)
```bash
# 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
```
## Quick Reference
| 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` |
## Escrow Flow
```
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
```
## Escrow Statuses
| 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 |
## Time Constraints
| 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 |
## Setup (one-time)
```bash
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.
## Errors
| 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 |
## Credentials
```json
{
"api_key": "trustra_sk_...",
"wallet_address": "7xKXtg..."
}
```
Never share your API key.Related Skills
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
obsidian-daily
Manage Obsidian Daily Notes via obsidian-cli. Create and open daily notes, append entries (journals, logs, tasks, links), read past notes by date, and search vault content. Handles relative dates like "yesterday", "last Friday", "3 days ago".
obsidian-additions
Create supplementary materials attached to existing notes: experiments, meetings, reports, logs, conspectuses, practice sessions, annotations, AI outputs, links collections. Two-step process: (1) create aggregator space, (2) create concrete addition in base/additions/. INVOKE when user wants to attach any supplementary material to an existing note. Triggers: "addition", "create addition", "experiment", "meeting notes", "report", "conspectus", "log", "practice", "annotations", "links", "link collection", "аддишн", "конспект", "встреча", "отчёт", "эксперимент", "практика", "аннотации", "ссылки", "добавь к заметке".
observe
Query and manage Observe using the Observe CLI. Use when the user wants to run OPAL queries, list datasets, manage objects, or interact with their Observe tenant from the command line.
observability-review
AI agent that analyzes operational signals (metrics, logs, traces, alerts, SLO/SLI reports) from observability platforms (Prometheus, Datadog, New Relic, CloudWatch, Grafana, Elastic) and produces practical, risk-aware triage and recommendations. Use when reviewing system health, investigating performance issues, analyzing monitoring data, evaluating service reliability, or providing SRE analysis of operational metrics. Distinguishes between critical issues requiring action, items needing investigation, and informational observations requiring no action.
nvidia-nim
NVIDIA NIM inference microservices for deploying AI models with OpenAI-compatible APIs, self-hosted or cloud
numpy-string-ops
Vectorized string manipulation using the char module and modern string alternatives, including cleaning and search operations. Triggers: string operations, numpy.char, text cleaning, substring search.
nova-act-usability
AI-orchestrated usability testing using Amazon Nova Act. The agent generates personas, runs tests to collect raw data, interprets responses to determine goal achievement, and generates HTML reports. Tests real user workflows (booking, checkout, posting) with safety guardrails. Use when asked to "test website usability", "run usability test", "generate usability report", "evaluate user experience", "test checkout flow", "test booking process", or "analyze website UX".
notebook-writer
Create and document Jupyter notebooks for reproducible analyses
nomistakes
Error prevention and best practices enforcement for agent-assisted coding. Use when writing code to catch common mistakes, enforce patterns, prevent bugs, validate inputs, handle errors, follow coding standards, avoid anti-patterns, and ensure code quality through proactive checks and guardrails.
nlss
Workspace-first R statistics suite with subskills and agent-run metaskills (including run-demo for guided onboarding, explain-statistics for concept explanations, explain-results for interpreting outputs, format-document for NLSS format alignment, screen-data for diagnostics, check-assumptions for model-specific checks, and write-full-report for end-to-end reporting) that produce NLSS format tables/narratives and JSONL logs from CSV/SAV/RDS/RData/Parquet. Covers descriptives, frequencies/crosstabs, correlations, t-tests/ANOVA/nonparametric, regression/mixed models, SEM/CFA/mediation, EFA, power, reliability/scale analysis, assumptions, plots, missingness/imputation, data transforms, and workspace management.
nexus-bootstrap
Enables your AI agent to discover and install skills from the Nexus Skills Marketplace. Install this skill first to unlock self-service skill management.