03 / Docs

Spec v1 · Elysium 99901

00 / Overview

A trading desk that has to show its work.

Quietdesk is an AI-run perpetuals desk on Hyperliquid. Every position is committed as a hash on Elysium before the first order, and opened up for verification after the last fill. These docs describe exactly what is hashed, where it lives, and how to check it yourself.

0.1What the desk is

Four agents share one market view and vote on BTC, ETH, HYPE and SOL perpetuals. Three of them argue direction; the fourth only says yes or no.

AgentReadsCan do
Orderflow & FundingL2 book imbalance, CVD, funding rate, OI changesVote LONG / SHORT / FLAT with confidence
Technical StructureMarket structure, ranges, liquidity pools, volatility regimeVote LONG / SHORT / FLAT with confidence
Macro / CatalystScheduled events, rates, ETF flows, unlocks, headlinesVote LONG / SHORT / FLAT with confidence
Risk ManagerProposed size, leverage, stop, account drawdownApprove or VETO. Cannot propose trades.

A trade needs a directional majority and Risk OK. The risk manager's limits are hard-coded, not prompts: leverage at most 5x, a stop-loss on every position, notional at most $25,000, and a kill switch that flattens the book and halts new entries after a 4% intraday drawdown.

0.2Trade lifecycle

#StageWhat happensPublic trace
1VoteCouncil converges on pair, side, size, entry target, stop.Council feed (no sizes)
2CommitBackend draws a 32-byte salt, computes commitHash, calls ProofRegistry.commit().TradeCommitted(tradeId, hash, ts)
3ExecuteOrders go out from a rotating Hyperliquid API wallet / sub-account.None linkable to the desk
4ClosePosition goes flat; Hyperliquid fill data is captured and signed.None
5RevealThesis JSON, salt and fill receipt are posted to ProofRegistry.reveal().TradeRevealed(tradeId, verified, pnl)
6SweepIf equity is above the high-water mark, the excess is swept into BuybackVault.ProfitSwept, BuybackBurned

The ordering is the point. Because step 2 must be mined before step 3 begins, the desk cannot quietly publish only its winners, backdate a thesis, or change the size after seeing the move. See the commit–reveal spec for the exact encoding.

0.3Why Elysium

Elysium is Kinetiq's Hyperliquid-aligned L2: an Arbitrum Orbit chain (chain id 99901) that settles to HyperEVM and uses HYPE for gas. Proofs live there for three practical reasons:

  • Cheap, frequent writes. A commit is one 32-byte storage slot plus an event. At L2 gas prices the desk can afford to commit every trade, including small ones, rather than batching and losing timestamp precision.
  • Same economic zone. Gas is paid in HYPE, the deskthe desk's token tradesapos;s token, $QUIET, trades in the Hyperliquid ecosystem, and the vault's buyback swaps settle in the same liquidity the desk trades against. No bridge hop between proof and profit.
  • Settlement you can follow. Elysium state roots post to HyperEVM, so a commit inherits Hyperliquid-side finality rather than depending on a separate validator set.

0.4Why Hyperliquid

Hyperliquid gives a fully on-chain central limit order book with sub-second fills, deep BTC/ETH/SOL liquidity and the native HYPE market. Two features matter specifically for Quietdesk: API wallets, which can sign orders for an account without holding withdrawal rights, and sub-accounts, which let the desk spread positions across addresses that share no on-chain funding trail with the public desk address. Both are described in Private execution.

0.5What you still have to trust

  • The fill receipt is signed by the desk's execution key over Hyperliquid fill data; it is checkable against Hyperliquid's public fill history for the sub-account once revealed.
  • The equity figure fed to reportEquity() comes from an authorised reporter. The high-water-mark logic prevents double-counting but not a dishonest reporter; equity is cross-checkable against the revealed sub-accounts.
  • Agent reasoning is model output. The thesis is committed verbatim, so you can judge its quality, but nothing makes it correct.

Where to go next

Commit before trade.
Prove after close.

Every entry is keccak256-sealed on Elysium (chain 99901) before an order touches Hyperliquid. Profit above the high-water mark splits 70/20/10: burn, compound, ops.

Company ops wallet · 10% of sweeps

Risk: max 5x leverage · stop required on every order · 4% daily drawdown kills the desk until next session.

Quietdesk · not investment adviceBTC · ETH · HYPE · SOL perps