# Developer Guide

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**.

{% hint style="info" %}
Most write endpoints return an **unsigned XDR**.\
You must sign it client-side with the correct **role wallet**.
{% endhint %}

### Pick your integration path

#### REST API

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

* [REST API: Introduction](https://docs.trustlesswork.com/trustless-work/api-rest/introduction)

#### React SDK (hooks)

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

* [React SDK: Getting Started](https://docs.trustlesswork.com/trustless-work/escrow-react-sdk/getting-started)

#### Escrow Blocks SDK (UI blocks)

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

* [Escrow Blocks SDK: Getting Started](https://docs.trustlesswork.com/trustless-work/escrow-blocks-sdk/getting-started)

### Quickstart (recommended order)

{% stepper %}
{% step %}

### 1) Get access

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

* [Request API Key](https://docs.trustlesswork.com/trustless-work/introduction/developer-resources/request-api-key)
  {% endstep %}

{% step %}

### 2) Set up auth + signing

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

* [Authentication](https://docs.trustlesswork.com/trustless-work/introduction/developer-resources/authentication)
  {% endstep %}

{% step %}

### 3) Learn the data model

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

* [Schema](https://docs.trustlesswork.com/trustless-work/introduction/developer-resources/schema)
* [Types](https://docs.trustlesswork.com/trustless-work/introduction/developer-resources/types)
  {% endstep %}

{% step %}

### 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.

* [Integration checklist](https://docs.trustlesswork.com/trustless-work/introduction/developer-resources/integration-checklist)
  {% endstep %}
  {% endstepper %}

### Prereqs (Stellar)

* [Stellar Wallets](https://docs.trustlesswork.com/trustless-work/introduction/stellar-and-soroban-the-backbone-of-trustless-work/stellar-wallets)
* [Trustlines](https://docs.trustlesswork.com/trustless-work/introduction/stellar-and-soroban-the-backbone-of-trustless-work/trustlines)
* [Testnet Tokens](https://docs.trustlesswork.com/trustless-work/introduction/stellar-and-soroban-the-backbone-of-trustless-work/testnet-tokens)

### Concepts and architecture

* [Escrow Design](https://docs.trustlesswork.com/trustless-work/introduction/technology-overview)
* [Architecture](https://docs.trustlesswork.com/trustless-work/introduction/developer-resources/architecture)
* [Escrow products Mix & Match Guide](https://docs.trustlesswork.com/trustless-work/introduction/technology-overview/smart-escrow-design)

### Try the Backoffice dApp

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

{% embed url="<https://dapp.trustlesswork.com>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trustlesswork.com/trustless-work/introduction/developer-resources.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
