# Hyperliquid builder code

#### Builder Code Fee Mechanism

HeyAnon HUD integrates with the **Hyperliquid builder code system** to enable a performance-based fee model. Before accessing HUD on Hyperliquid, users must sign a one-time **builder code approval transaction**, authorizing the HUD’s builder address to charge a maximum fee.&#x20;

Once authorized, the HUD automatically applies a **10 bps (0.10%) fee** when a user **closes a profitable position**. This fee is calculated on the **total realized profit** from the closed position and is deducted transparently at the time of closing. No builder fee is applied on losing or break-even trades.&#x20;

The deducted amount is distributed to the HeyAnon HUD builder address as compensation for the service, utilizing Hyperliquid’s native builder code settlement logic. Users can revoke or modify their builder code approval at any time through their connected wallet or directly on Hyperliquid’s dashboard.


---

# 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.heyanon.ai/heyanon.ai/hud/hyperliquid-builder-code.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.
