HyperCore market data and orders for Elysium contracts.
Iris streams Hyperliquid prices onto Elysium and runs your contract's HyperCore orders until Elysium's native precompile ships. Reads match L1Read. Writes match CoreWriter.
- Push
- 0.25% move or 60 s heartbeat
- Pull
- signed payload, same-transaction read
- Signers
- 2 of 3, EIP-712, timelocked rotation
- Orders
- sendRawAction, HYPE escrow, reclaim on timeout
| Asset | HyperCore price | On-chain price | Age |
|---|
Latency and uptime
Measured live from the stream and the chain.
How it works
Push, pull and write.
Push
Iris keeps every listed price on chain.
- HyperCoreOracle, mark, mid, bid and ask stream in from Hyperliquid
- 2 of 3 signSigners sign the batch on a 0.25% move or a 60 s heartbeat
- IrisOracleRelayer writes the batch to Elysium with the guards checked
- Your contractReads oraclePx, markPx, bbo, or getPriceNoOlderThan
Pull
Your user carries a fresher price in their own transaction.
- GET /v1/payloadYour app fetches a signed payload for the assets it needs
- User transactionThe payload rides along as calldata
- updatePriceFeedsOracle checks signatures and stores anything newer
- Same-tx readYour read sees a price from about a second ago
Write
Your contract places HyperCore orders.
- sendRawActionCoreWriter encoding, HYPE sent along as escrow
- KeeperRuns the action on HyperCore as an agent wallet
- Signed receipt2 of 3 sign the outcome: filled or rejected, with the result
- Settle or reclaimKeeper paid up to escrow, rest refunded. No receipt: reclaim
Integrate
Real code from iris-contracts.
import {IIrisOracle} from "iris-contracts/src/interfaces/IIrisOracle.sol"; contract IrisConsumerExample { IIrisOracle public immutable oracle; uint256 public constant MAX_AGE = 15; // seconds /// @param priceUpdate signed payload from GET /v1/payload?assets=... function quote(uint32 asset, bytes calldata priceUpdate) external returns (uint256 price) { if (priceUpdate.length > 0) oracle.updatePriceFeeds(priceUpdate); (uint256 px, uint8 dec, ) = oracle.getPriceNoOlderThan(asset, MAX_AGE); return px; // px / 10**dec is the HyperCore oracle price } }
Contract addresses
- Network
- Elysium mainnet, chain id 99901
- RPC
- https://rpc.elysium.kinetiq.xyz
- IrisOracle
- Published here the moment mainnet deploy lands
- IrisWriter
- Published with the oracle
- Asset ids
- BTC 0, ETH 1, SOL 5, HYPE 159
Price pushes
Security model
What it takes to move a price or touch escrow.
2 of 3 signers
Every price batch and every order receipt carries EIP-712 signatures from at least two of three independent keys. One key alone can do nothing.
Staleness and deviation guards
Reads revert with StalePrice past your max age. A signed update that jumps more than the asset's limit inside 60 seconds reverts with DeviationTooLarge. Payloads older than 60 s or 5 s in the future are refused.
Timelocked signer rotation
Changing the signer set waits behind a public timelock of 10 minutes to 30 days, and bumps an epoch inside every signature, so old signatures die with the old set.
Reclaim after timeout
No receipt by the deadline (10 minutes by default) and anyone can call reclaim(id). The HYPE escrow goes back to the account that sent the intent.
No admin path to funds
There is no owner function that moves user escrow. Settlement can only refund the sender or pay the keeper up to the escrow the sender chose.
Switching to native
One address when Elysium ships HyperCore access.
Iris on Elysium mainnet
IrisOracle and IrisWriter give contracts HyperCore prices and orders through L1Read-shaped reads and CoreWriter-shaped writes.
Native HyperCore precompile and ElysiumCoreWriter
Same function names, same return types, same byte encoding. Switch by changing one address, and for pull, deleting one line. Iris stays on as a second source.