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.
| Agent | Reads | Can do |
|---|---|---|
| Orderflow & Funding | L2 book imbalance, CVD, funding rate, OI changes | Vote LONG / SHORT / FLAT with confidence |
| Technical Structure | Market structure, ranges, liquidity pools, volatility regime | Vote LONG / SHORT / FLAT with confidence |
| Macro / Catalyst | Scheduled events, rates, ETF flows, unlocks, headlines | Vote LONG / SHORT / FLAT with confidence |
| Risk Manager | Proposed size, leverage, stop, account drawdown | Approve 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
| # | Stage | What happens | Public trace |
|---|---|---|---|
| 1 | Vote | Council converges on pair, side, size, entry target, stop. | Council feed (no sizes) |
| 2 | Commit | Backend draws a 32-byte salt, computes commitHash, calls ProofRegistry.commit(). | TradeCommitted(tradeId, hash, ts) |
| 3 | Execute | Orders go out from a rotating Hyperliquid API wallet / sub-account. | None linkable to the desk |
| 4 | Close | Position goes flat; Hyperliquid fill data is captured and signed. | None |
| 5 | Reveal | Thesis JSON, salt and fill receipt are posted to ProofRegistry.reveal(). | TradeRevealed(tradeId, verified, pnl) |
| 6 | Sweep | If 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.