circle-check
Our docs are AI-ready. Use them as context for any AI, or ask questions via the search bar.

brackets-curlyDeveloper Guide

Start building on Trustless Work with the REST API or SDKs.

Trustless Work is Escrow-as-a-Service on Stellar (Soroban).

Use it to deploy escrows, fund them, track milestones, and release funds. Your app drives the flow via REST API or SDKs.

circle-info

Most write endpoints return an unsigned XDR. You must sign it client-side with the correct role wallet.

Pick your integration path

REST API

Use this if you want full control and you’re already signing Stellar transactions.

React SDK (hooks)

Use this if you want typed hooks for every escrow action.

Escrow Blocks SDK (UI blocks)

Use this if you want ready-made UI blocks and wallet connectivity.

1

1) Get access

Request an API key. You’ll need it for deploy/fund/release/dispute flows.

2

2) Set up auth + signing

Wire up the auth header. Then get your wallet(s) ready to sign XDR.

3

3) Learn the data model

You’ll use these types in every request/response.

4

4) Implement the core flow

Typical sequence:

  1. Deploy / initialize escrow

  2. Fund escrow

  3. Approve or update milestones (if used)

  4. Release funds (or dispute + resolve)

Use the checklist to cover edge cases and role permissions.

Prereqs (Stellar)

Concepts and architecture

Try the Backoffice dApp

Use it to request API keys and test flows end-to-end.

Last updated

Was this helpful?