trustless-work-dev

📁 trustless-work/trustless-work-dev-skill 📅 Feb 9, 2026
4
总安装量
4
周安装量
#52394
全站排名
安装命令
npx skills add https://github.com/trustless-work/trustless-work-dev-skill --skill trustless-work-dev

Agent 安装分布

opencode 4
gemini-cli 4
github-copilot 4
codex 4
kimi-cli 4
amp 4

Skill 文档

Trustless Work Development Skill

This skill provides comprehensive guidance for integrating Trustless Work escrow contracts into applications. Use the reference files below for detailed implementation guides.

Quick Start

When working with Trustless Work:

  1. Understand core concepts – See skills/api/core-concepts.md
  2. Choose escrow type:
  3. Configure trustlines – See skills/api/trustlines.md
  4. Choose integration method:
  5. Implement workflow: Deploy → Fund → Complete → Approve → Release

When to Use This Skill

Apply automatically when:

  • Building escrow or milestone-based payment systems
  • Integrating Trustless Work API
  • Working with Stellar blockchain and Soroban contracts
  • Implementing conditional payment workflows
  • Handling disputes in payment systems
  • Users mention “escrow”, “milestone payments”, “Trustless Work”

Reference Files

REST API Documentation

React SDK Documentation

  • skills/react-sdk/react-sdk.md – React SDK overview and quick reference
  • skills/react-sdk/hooks-reference.md – Complete detailed documentation for all hooks (useInitializeEscrow, useFundEscrow, useApproveMilestone, useReleaseFunds, useStartDispute, useResolveDispute, useUpdateEscrow, useChangeMilestoneStatus, useWithdrawRemainingFunds, useSendTransaction) with full examples
  • skills/react-sdk/vibe-coding.md – Single-file AI context guide with global rules, implementation prompts, and step-by-step feature guides (essential for AI workflows)

Blocks SDK Documentation

API Base URL

Production: https://api.trustlesswork.com

All endpoints require: x-api-key: YOUR_API_KEY header

Common Transaction Flow

  1. Call API endpoint → Get unsigned XDR transaction
  2. Sign with wallet → Create signed XDR
  3. Submit via /helper/send-transaction → Broadcast to Stellar
  4. Verify on-chain → Query with validateOnChain=true

Resources