> For the complete documentation index, see [llms.txt](https://docs.heyanon.ai/heyanon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heyanon.ai/heyanon.ai/hud/hyperliquid-builder-code.md).

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