precompilisium
Getting started

Overview

Precompilisium answers HyperEVM's HyperCore calls on Elysium now, and hands each one to the native precompile when Elysium's upgrade ships.

Your contract
staticcall(abi.encode(159))
raw input→
ReadShim
0x0806…0806
today→
CoreStore
keeper posts, Stale past 30 s
Native precompile
after the upgrade, via 48 h lock

What is served today

Fourteen read shims, one per HyperEVM L1Read precompile. Each takes the same raw input a HyperEVM contract sends (abi.encode(args), no selector) and returns the same bytes, with the same decimals. Mark and oracle prices of every HyperCore perp, spot prices, best bid and offer, perp, spot and token metadata, the HyperCore block height, and the positions, spot balances, vault equity, withdrawable and margin summary of any account on the watch list.

A write simulator sits at a 0x3333…3333 address and accepts CoreWriter's sendRawAction(bytes). It decodes limit orders and cancels and prices them against the live book. It never trades.

The values come from a keeper that reads Hyperliquid's API and websocket and posts to a store on Elysium when a market moves 0.05% or every 30 seconds. Every answer carries the HyperCore block it was read at.

What changes on upgrade day

Kinetiq's docs say a read precompile and an ElysiumCoreWriter predeploy ship in an ArbOS upgrade, expected around early December. No date has been announced, and the interface and addresses are not published yet. When they are, each shim gets a native source through a 48 hour timelock and asks the precompile first. Your contract keeps calling the same address. See the switch.

The contracts are unaudited software. The playground runs their code on Elysium through eth_call state overrides until they are deployed; the sandbox deploys them on a private copy of the chain.

Status

PartState
Read shims, store, book, write simulatorWritten and tested on a fork of Elysium; addresses mined, deploy pending
KeeperWritten; runs once funded
Playground, sandbox, MCPLive
Relayer seatsWritten; opens when $PCOMP exists