What are builder codes and why wallets add perps
By Chain Almanac. Published 26 November 2026. Data updated 26 Nov 2026, 18:05 UTC.
A builder code lets a wallet or trading app collect its own fee on every order it sends to Hyperliquid for you: up to 0.1% on perpetuals and up to 1% on spot. It is the reason apps that never ran an exchange can now offer perpetuals and be paid for it.
How it works
- The app registers an address as a builder. That address must hold at least 100 USDC in its perpetuals account.
- Before your first trade, the app asks you to sign an approval naming the builder and the highest fee it may charge. It has to be signed by your main wallet; an API wallet cannot approve it.
- Each order the app sends carries the builder's address and a fee at or below the approved maximum. When the order fills, Hyperliquid pays that fee to the builder.
- You can revoke an approval at any time, and you can have at most ten active at once.
What it adds to the cost of a trade
The builder fee is charged on top of the exchange fee. At Hyperliquid's entry tier a taker pays 0.045% on a perpetual. Through an app charging a 0.05% builder fee the same order costs 0.095%: $9.50 on a $10,000 trade instead of $4.50, and again when the position is closed.
- On perpetuals the builder fee applies to both the opening and the closing trade.
- On spot it applies to sells only; the buying side is exempt.
- The fee is a share of the full position value. With leverage it is larger relative to your margin: 0.05% of a $10,000 position is 0.5% of $1,000 posted at 10x.
Why wallets add perpetuals
Building a derivatives exchange means building a matching engine, a margin system and enough liquidity to fill orders. With a builder code an app needs none of them: it draws the order entry screen, sends orders to an existing order book, and earns a fee it sets itself. For a wallet with many users that is new revenue from an audience it already has.
What to check before approving one
- The maximum fee in the approval, not the fee the app advertises. The app can charge anything up to the number you sign.
- The total cost against trading on the exchange's own interface, where no builder fee applies.
- Old approvals. An approval stays valid until you revoke it, even for an app you no longer use.
The exchange's own fees are set out in Hyperliquid fees explained.