> For the complete documentation index, see [llms.txt](https://docs.trustlesswork.com/trustless-work/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trustlesswork.com/trustless-work/v1-es/api-rest/deploy-1.md).

# Escrow de liberación múltiple

Un Contrato de Entregas Múltiples es un acuerdo de escrow en la blockchain Stellar que divide el pago total de un proyecto en múltiples entregas (“hitos”). Cada hito se libera solo tras la verificación de su finalización, garantizando que los fondos permanezcan seguros hasta que el trabajo asociado sea validado.

**Componentes clave**

* **Bloqueo inicial de fondos**: Al iniciarse el contrato, el total de todos los montos de los hitos más la tarifa de la plataforma (“platformFee”) se deposita en una cuenta de escrow.
* **Hitos**: Cada etapa incluye una descripción, un monto específico y banderas de estado (`approved`, `dispute`, `released`, `resolved`).
* **Roles principales**:
  * **Proveedor de servicios**: Entrega el entregable correspondiente a cada hito.
  * **Aprobador**: Verifica y aprueba un hito antes de autorizar la liberación de fondos.
  * **Resolutor de Disputas**: Interviene en caso de desacuerdo y decide si liberar o reembolsar la cantidad bloqueada.
  * **Receptor**: El destinatario final de los fondos si es distinto del Proveedor de Servicios.

**Flujo de trabajo breve**

1. El Proveedor de Servicios completa un hito y solicita aprobación.
2. El Aprobador revisa el entregable; si lo aprueba, firma una transacción que libera únicamente el monto asignado a ese hito (menos la tarifa de la plataforma y la de Trustless Work).
3. La red Stellar ejecuta la transacción y transfiere el pago al Proveedor de Servicios o al Receptor configurado.
4. Si surge una disputa, el Resolver de Disputas evalúa las pruebas y, al firmar su decisión, marca el hito como `resolved` para liberar o reembolsar los fondos correspondientes.

Este modelo protege a todas las partes: el cliente sabe que los fondos están disponibles pero no pueden liberarse sin validación, y el Proveedor de Servicio recibe el pago por cada entrega verificada, aprovechando la transparencia e inmutabilidad de Stellar.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.trustlesswork.com/trustless-work/v1-es/api-rest/deploy-1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
