Trustless-Work

trustless-work-dev

Comprehensive guide for developing with Trustless Work platform - escrow contracts, milestones, disputes, API integration, and Stellar/Soroban smart contracts. Use when building escrow systems, integrating Trustless Work API, working with Stellar blockchain, managing milestone-based payments, handling disputes, or when users mention Trustless Work, escrow contracts, or conditional payments.

Trustless-Work 1 Updated 3mo ago
GitHub

Install

npx skillscat add trustless-work/trustless-work-dev-skill

Install via the SkillsCat registry.

SKILL.md

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