Docs
How Isometry works under the hood: the contracts that hold every vault, the checks on every order, the fees, and how to read the same data or run your own bot.
Every figure on this page is read from the live deployment. The source is public at github.com/Isometryme.
The pieces
contracts on HyperEVM (999)A bot sends targets to BotHub. BotHub carries each target to every vault that follows the bot, the copies first and the bot's own vault last, and each vault turns it into an order on Hyperliquid only after checking it against its own limits.
bot ── target ──> BotHub ──> copy vaults ──────> HyperCore (engine or │ then your server) └──> the bot's own vault ──> HyperCore
| Contract | What it does | Address |
|---|---|---|
| BotHub | Registers bots, stores their targets and carries each one to the vaults that follow the bot | 0x0DC615730abb364f6b6985e814DA7E14Bc0239b2 |
| CopyMarket | Sells copies and opens the buyer's vault | 0x74AC8b9cef515dd6068D6c358263d91cCEdd558B |
| VaultFactory | Clones every vault from one implementation | 0x00c8A079979CbAc837755d0076e45Ae68bAA4434 |
| ProtocolBounds | Holds the tradable markets and the outer ranges every vault's limits sit inside | 0x2Db348548d3A204c5F6cdb03d7de9Bc04bF72715 |
| HostedOperator | Sends the targets of bots run by the Isometry engine | 0x4EEa061be9c4401aB4FF56ECa43Cd6Ea6eb623D3 |
| FeeCollector | Receives the protocol's share of copy prices and performance fees | 0x16a1242B0B383f3658FEfB85470D7B3757aB5f50 |
| USDC | The money every vault holds and every fee is paid in | 0xb88339CB7199b77E23DB6E890353E22632Ba630f |
Vaults
one contract, one ownerA vault is a contract on HyperEVM with its own account on HyperCore. It follows one bot and belongs to one owner: the bot's creator for the bot's own vault, the buyer for a copy. Positions, equity and fills live on HyperCore; the vault reads them through HyperCore's read precompiles and places its own orders through CoreWriter, so the money stays in the vault.
| Owner action | Effect |
|---|---|
deposit(amount) | Moves USDC from the owner's wallet to the vault's HyperCore account. It raises the high-water mark by the same amount, so a deposit counts as capital |
withdraw(amount) | Sends USDC back from HyperCore, with any performance fee due on that share; claim() then pays it out |
setLimits(limits) | Changes the vault's limits at once, inside the outer ranges |
pause() / resume() | Stops and restarts following the bot |
closePosition(asset) | Closes one position with reduce-only orders |
setScale(bps) | On a copy, scales every target from 10% to 300% of the bot's |
detach() | Stops following the bot; the vault keeps its funds, and closing and withdrawing stay open |
The vault waits 20 HyperEVM blocks after its last order or transfer before a withdrawal, so it always sizes from settled numbers.
Copying a bot
your own vault, following theirsCopyMarket.buyCopy(botId, limits, depositAmount, maxPrice, maxFeeBps) takes the copy price and the first deposit in one transaction, clones a vault for the buyer and deposits into it. The price and fee in the call are the most the buyer accepts, so a change by the creator in between cannot cost more.
A bot opens for copies once its creator lists it and its own vault holds at least 10 USDC, zero days after its first trade. /v1/bots/:id/quote answers whether a bot takes copies now, its price, its fee and a suggested first deposit.
A bot sends a target per market as a share of equity, for example targetBps = -6750 for a short worth 67.5% of equity. Each vault then:
- multiplies the target by its own scale,
- turns it into a position size from its equity and the oracle price,
- keeps gross exposure across every market under its leverage cap and the order under its order size,
- prices the order inside its price band, or inside the 3% exit band for an order that only reduces,
- sends it to HyperCore as an immediate-or-cancel limit order.
An order a vault's limits stop is recorded with its reason, and every other vault carries on.
Limits
checked on every orderEvery vault carries its own limits: the creator sets them for the bot's vault, the buyer for a copy. They sit inside the outer ranges in ProtocolBounds, served at /v1/config.
| Limit | Field | Range now | Checked |
|---|---|---|---|
| Leverage | maxLeverageBps | up to 5.00x | every order, across all markets together |
| Price band | priceBandBps | up to 0.50% | every order that opens or grows a position |
| Drawdown | maxDrawdownBps | 5% to 50% | by the guard |
| Daily loss | maxDailyLossBps | 1% to 20% | by the guard |
| Check-in | heartbeatTimeout | one hour to one day | by the guard |
| Markets | assetMask | any of the listed markets | every order |
| Order size | maxOrderNotional | above 0, in USDC | every order |
Anyone can call checkGuard(). It puts a vault on hold when its equity falls from its peak by more than the drawdown limit, when the day's loss passes the daily limit, or when the bot has sent neither a target nor a check-in for longer than the check-in limit. A vault on hold opens nothing new; closing positions and withdrawing stay open, and its owner resumes it.
Fees
each bot sets its own, inside these| Fee | Who pays | Rate | Split |
|---|---|---|---|
| Copy price | The buyer, once per copy | set by the creator, at least 1 USDC | 95% creator · 5% protocol |
| Performance fee | Each copy | set by the creator, up to 30% of profit above the high-water mark | 80% creator · 20% protocol |
| Isometry engine | The bot's own vault, for bots the engine runs | 10% of profit above the high-water mark | protocol |
A performance fee counts only equity above the high-water mark, which starts at the first deposit and rises with every deposit; after each charge it moves up to the equity left. It is settled monthly and on each withdrawal, and rounding favours the payer. A creator can lower a fee at any time; a higher one applies seven days after it is set, to new profit only.
Run a bot from your own server
your logic, your keyChoose Create, then your own server, and give the address of the key your server signs with. That registers the bot and clones its own vault with you as owner. From then on your server sends targets with that key:
import { createWalletClient, http, parseAbi } from "viem";
import { privateKeyToAccount } from "viem/accounts";
const hub = "0x0DC615730abb364f6b6985e814DA7E14Bc0239b2";
const abi = parseAbi([
"function setTarget(uint256 botId, uint32 asset, int32 targetBps, uint64 limitPx) returns (uint64)",
"function ping(uint256 botId)",
]);
const wallet = createWalletClient({
account: privateKeyToAccount(process.env.OPERATOR_KEY as `0x${string}`),
transport: http("https://rpc.hyperliquid.xyz/evm"),
});
// BTC (asset 0) long at 1.5x of the vault, at most 60,500 USDC a coin
await wallet.writeContract({
chain: null, address: hub, abi, functionName: "setTarget",
args: [5n, 0, 15000, 60_500n * 10n ** 8n],
});| Call | What it does |
|---|---|
setTarget(botId, asset, targetBps, limitPx) | The share of equity to hold in one market: 10000 is 1x long, -5000 is 0.5x short, 0 is flat; limitPx is the worst price times 1e8 |
ping(botId) | A check-in when there is no new target; every target counts as one too |
setOperator(botId, key) | Swaps the signing key at once |
list(botId) | Opens the bot for copies; setCopyPrice, setPerfFee and unlist adjust the offer |
The full ABI and the addresses come as one package: npm install github:Isometryme/interfaces.
Public API
no key, JSON, every route a GEThttps://api.isometry.me/v1 curl https://api.isometry.me/v1/bots curl https://api.isometry.me/v1/bots/1/quote
| Route | Returns |
|---|---|
/bots | Every active bot with its return, drawdown, days live, copies, price and fee; sort, window, coin, maxFee, maxPrice, limit, cursor |
/bots/:id | One bot: creator, its own vault, fees, limits, strategy and check-in rate |
/bots/:id/quote | Whether it takes copies now, its price, fee and suggested first deposit |
/bots/:id/performance | Return, drawdown, Sharpe, Sortino, win rate, monthly returns |
/bots/:id/signals | The targets it sent and when its vault applied each |
/bots/:id/decisions | For engine bots, each decision with the transaction that carried it |
/vaults/:address | Owner, state, limits, equity, withdrawable, high-water mark, fee owed, profit |
/owners/:address/vaults | Every vault an address owns |
/assets | Tradable markets with their HyperCore index |
/config | Chain, contract addresses, outer ranges, fee rates and protocol constants |
Amounts in USDC are decimal strings with six places and times are ISO 8601 in UTC. Every route, parameter and answer: Isometryme/api.
Feeds
signed readings, paid per callEach feed answers its latest reading signed by the key that took it. A call is paid in USDC on HyperEVM over x402: the first request answers 402 with the offers (one call, or a pack valid 30 days), and the same request with a signed payment answers the report.
curl -i https://api.isometry.me/feeds/v1/feeds/isometry/btc-funding-rate-hypercore/latest # 402 Payment Required, with the offers in the payment-required header
A report is EIP-712 typed data Report under the domain {name: "Hypatia Feeds", version: "1", chainId}. A contract checks it with FeedVerifier.verifyEncoded(encoded, signature, maxAgeSec). Browse every feed on Feeds.
Check it yourself
the chain, the source and this site agreegit clone https://github.com/Isometryme/verify && cd verify npm install node verify.mjs # code at every address, the links between contracts, limits and bots against the API node verify.mjs --source ../contracts # the runtime bytecode against the compiled source
It checks that every contract has code at its published address, that each contract points to the right others, that the outer ranges in ProtocolBounds equal what /v1/config serves, and that every bot the API lists exists in BotHub with the same creator and vault.
Source
github.com/Isometryme- contracts
- The vault contracts, their tests and how to reproduce the deployed bytecode.
- interfaces
- ABIs, addresses and TypeScript exports for viem and wagmi.
- api
- The public HTTP API: routes, parameters and example answers.
- docs
- How Isometry works, from the vault up.
- verify
- One command that checks the deployment against its source and against this site's numbers.