# Quietdesk > A verifiable AI perpetuals desk on Hyperliquid. Every trade is committed as a keccak256 hash on Elysium (chain 99901) before entry and revealed after close. Profit above the high-water mark is swept into a vault that burns 70% of it. ## Desk - Markets: BTC, ETH, HYPE, SOL perpetuals on Hyperliquid. - Council: four agents. ORDERFLOW (orderflow & funding), TECHNICAL (market structure), MACRO (catalysts) vote LONG/SHORT/FLAT with confidence 0..1. RISK approves or vetoes. - Hard risk limits: leverage <= 5x; stop-loss mandatory; max position $25,000 notional; 4% daily drawdown kill switch (flatten, no entries until 00:00 UTC). - Execution: orders are signed by rotating Hyperliquid API wallets on sub-accounts not linked on-chain to the public desk. Sub-accounts are disclosed at reveal. - Modes: PAPER_SIMULATION | HYPERLIQUID_TESTNET | HYPERLIQUID_MAINNET (current mode in GET /api/stats -> mode). ## Proof spec commitHash = keccak256(abi.encode(bytes32 tradeId, string thesisJson, string pair, uint8 side, uint256 sizeUsd, uint256 entryTarget, bytes32 salt)) - side: 0 = LONG, 1 = SHORT - sizeUsd: USD notional * 1e6 - entryTarget: price * 1e8 - salt: 32 random bytes, unique per trade - thesisJson: exact UTF-8 string as committed (byte-for-byte; do not re-serialise) - Lifecycle: commit(tradeId, commitHash) is mined before any order. On close: reveal(...) with thesis, salt and signed fill receipt; the contract re-hashes and sets verified true (VERIFIED) or false (FAILED). - Statuses: SEALED (committed, not revealed) | REVEALED | VERIFIED | FAILED. - To verify: recompute the hash from GET /api/trades/:id fields (bigints are decimal strings; use BigInt) and compare with ProofRegistry.getTrade(tradeId).commitHash on Elysium. ## Contracts (Elysium, chain 99901, gas HYPE, Arbitrum Orbit settling to HyperEVM) - ProofRegistry: (set at deploy: NEXT_PUBLIC_PROOF_REGISTRY) - commit(bytes32 tradeId, bytes32 commitHash) - reveal(bytes32 tradeId, string thesisJson, string pair, uint8 side, uint256 sizeUsd, uint256 entryTarget, bytes32 salt, bytes fillReceipt) - computeCommit(bytes32,string,string,uint8,uint256,uint256,bytes32) view returns (bytes32) - getTrade(bytes32 tradeId) view - event TradeCommitted(bytes32 indexed tradeId, bytes32 commitHash, uint64 timestamp) - event TradeRevealed(bytes32 indexed tradeId, bool verified, int256 pnlUsd) - BuybackVault: (set at deploy: NEXT_PUBLIC_BUYBACK_VAULT) - reportEquity(uint256 equityUsd); sweepProfit() payable; executeBuybackBurn(uint256 amountIn, uint256 minOut) - highWaterMark() view; buybackReserve() view - events ProfitSwept, BuybackBurned, HighWaterMarkRaised - Token: $QUIET (symbol QUIET) at (set at launch: NEXT_PUBLIC_TOKEN_ADDRESS) - Interfaces may be refined before mainnet; verified explorer source is authoritative. ## Buyback vault - Sweep only when equity > high-water mark: profit = equity - HWM. - Split: 70% swap to $QUIET and burn to 0x000000000000000000000000000000000000dEaD (non-withdrawable); 20% compounds to bankroll (HWM += compound); 10% to company ops wallet. - Token trading fees routed to the vault go 100% to the buyback reserve. - Company ops wallet: 0x106342ec570e207afda9fda63125d7a9071127f2. It holds no contract role: cannot withdraw the reserve, change the split, move the HWM or touch trade records. ## API (read-only, no key) base: https://api-production-56dbeaea.up.railway.app - GET /api/stats -> DeskStats {equityUsd, highWaterMarkUsd, closedProfitUsd, totalBurnedTokens, totalBurnedUsd, verifiedWinRate, verifiedTrades, openSealed, mode} - GET /api/trades -> TradeRecord[] (?status, ?pair, ?limit<=200, ?cursor) - GET /api/trades/:id -> TradeRecord (preimage fields only after reveal) - GET /api/burns -> BurnEvent[] {txHash, at, profitSweptUsd, burnUsd, compoundUsd, opsUsd, tokensBurned} - GET /api/council -> latest votes per pair (no sizes or prices) - WS /ws -> messages {type:"stats"|"trade"|"burn"|"council", data} ## Site - / (entry), /menu (section slideshow), /desk (live desk), /ledger (proof ledger), /launch ($QUIET hub) ## Docs - /how-it-works - /docs, /docs/commit-reveal, /docs/execution, /docs/buyback-vault, /docs/contracts, /docs/transparency, /docs/api, /docs/launch Not investment advice.