> For the complete documentation index, see [llms.txt](https://docs.zeroauthority.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zeroauthority.xyz/gigs/gigs-onchain/milestone-gigs-onchain.md).

# Milestone Gigs Onchain

1. **Initiating a Milestone Contract:**
   * Begin by creating a milestone contract on the platform.
   * The start date is initiated at the time of the transaction block confirmation on the blockchain.
2. **Setting Milestone Details:**
   * Specify an end date for the milestone contract.
   * Note that up to 5 milestones can be created for a single contract.
3. **Payment for Milestone Delivery:**
   * When ready to pay for the delivery of a milestone, select the "complete" option.
   * The clarity contract will automatically release funds specifically for the completed milestone.
4. **Automatic Redemption for Inactivity:**
   * If the client takes no action or forgets to mark milestones as complete, 5 days after the end date, the client can choose to redeem funds.
   * This action triggers the clarity contract to release funds.
5. **Creator's Redemption Opportunity:**
   * If the end date is triggered and the client hasn't redeemed funds within 5 days, the creator has the option to trigger fund redemption.
6. **Remaining Funds for Creator:**
   * Upon redemption, the creator receives any remaining funds for the completed work.
7. **Reputation Badges:**
   * Clients earn a reputation badge for initiating a service request.
   * Creators earn a reputation badge for delivering the requested service.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.zeroauthority.xyz/gigs/gigs-onchain/milestone-gigs-onchain.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
