ETH-PERP
Long, openingbeforeOpenLeverageGuardCaps leverage by 30-day volatilityafterOpenReferralSplitPays the referrer 10 bpsHyperHooks lets anyone attach a Solidity contract to a position on Elysium. Your code runs when a position opens, changes, gets liquidated or closes.
Scroll to follow one example ETH long through its life, and watch which hooks fire.
beforeOpenLeverageGuardCaps leverage by 30-day volatilityafterOpenReferralSplitPays the referrer 10 bpsA few of the things builders can ship as hooks on day one. Each one is a single contract.
Charge a fee on opens or size increases and route it to a treasury, a buyback or stakers.
Split fees with whoever brought the trader in, paid in the same block the position opens.
Tighten max leverage when a market gets volatile, and loosen it when things calm down.
Streaks, seasons and leaderboards scored from real closes, so the game can't be faked offchain.
Open a matching hedge on HyperCore spot whenever a position grows past a threshold.
If you've written a Uniswap v4 hook, you already know the shape. Same idea, applied to perp positions.
Dear builder,
Implement the callbacks you care about, register your contract against a market, and the engine calls it at each step of a position's life. Return values let a before-hook change the trade or stop it. After-hooks see the result and can act on it.
The HyperHooks team
Hooks run on Elysium's fast blocks and read positions and order books from Hyperliquid's engine.
Where your hook contract lives and runs. An EVM layer 2 built by Kinetiq for Hyperliquid.
Hyperliquid's trading engine, with the perp and spot order books your positions trade against.
HyperCore reads and order routing from Elysium are rolling out with Elysium mainnet.
Get the interface, a starter repo and testnet access. Early hook builders get listed in the launch directory.