# EL-3 EL-3 is a permissionless perp exchange on Elysium (chain id 99901, native HYPE). Anyone deploys a perp market for a token in one transaction through the MarketFactory, posts a stake, picks parameters inside fixed bounds, and earns a chosen share of that market's fees. Trading runs on a central limit order book: a Rust matching engine sequences EIP-712 signed orders off-chain (price-time priority, hash-chained event log) and settles fills on Elysium in numbered batches that El3Exchange verifies against both signed orders. Marks come from HyperCore (read on HyperEVM, delivered by retryable ticket) or from a guarded Uniswap v4 pool TWAP for Elysium-only coins. ## API - REST (proxied by this site): /api/engine/v1/markets, /api/engine/v1/book/{market}?depth=20, /api/engine/v1/trades/{market}?limit=50, /api/engine/v1/account/{address}, /api/engine/v1/stats, /api/engine/v1/log/{market}?from=1&limit=1000, /api/engine/v1/batches?limit=50, /api/engine/v1/eip712 - Orders: POST /api/engine/v1/order with {"order":{trader,market,isBuy,px,sz,tif,reduceOnly,nonce,expiry},"sig":"0x..."} (px, sz, nonce, expiry as decimal strings) - Cancels: POST /api/engine/v1/cancel with {"cancel":{trader,market,nonce},"sig":"0x..."} - WebSocket: GET /api/engine-url returns {url, ws}; open ws and send {"op":"sub","channel":"book"|"trades","market":1} or {"op":"sub","channel":"account","account":"0x..."}; stats are pushed every second. - Units: px = USDC x 1e6 per whole base unit; sz = base x 1e6; tif 0 GTC, 1 IOC, 2 ALO (post-only). Collateral: USDC (6 decimals) on Elysium. ## EIP-712 - Domain: name "EL-3", version "1", chainId 99901, verifyingContract = El3Exchange - Order(address trader,uint32 market,bool isBuy,uint64 px,uint64 sz,uint8 tif,bool reduceOnly,uint64 nonce,uint64 expiry) - Cancel(address trader,uint32 market,uint64 nonce) ## Contracts El3Exchange, MarketFactory, CoreMarkOracle, V4TwapOracle, El1ReadAdapter (disabled until EL1Read ships), HouseVault, Endpoint (publishes the engine URL); on HyperEVM: MarkProbe, HedgeAccount. Addresses: GET /api/deployment. ## $PERP Not launched. No address, price or supply. Role: deployer stakes (HYPE until launch), insurance backstop, fee discounts, protocol fee buy and burn of $PERP and KNTQ. Everything except stakes in HYPE waits for $PERP. ## SDK curl -o el3.mjs /sdk/el3.mjs ; exports configure, signOrder, placeOrder, cancel, getBook, getAccount, getMarkets, getTrades, getStats, subscribe. Docs: /docs/sdk ## MCP Streamable HTTP JSON-RPC at /mcp. Read-only tools: list_markets, get_book, get_trades, get_account, get_stats, get_deployment, build_order (returns typed data; never signs). Docs: /docs/mcp ## Docs /docs, /docs/orders, /docs/matching, /docs/settlement, /docs/escape-hatch, /docs/oracles, /docs/liquidation, /docs/fees, /docs/contracts, /docs/risks