EL1 precompiles
Docs

EL1 precompiles

Scriptcore is built for Elysium's announced EL1 precompiles, and switches to them when they ship.

Status

Kinetiq has announced EL1Read (HyperCore state readable on Elysium) and ElysiumCoreWriter (HyperCore actions sent from Elysium). They are not live yet. Nothing in Scriptcore calls them today, and nothing here depends on them.

LIVE TODAYHyperCore stateengine + TruthProbeCoreTruth snapshotsregistry + KeeperBondWHEN EL1 SHIPSHyperCore stateEL1Read on Elysiumchecked in the fire txElysiumCoreWriter orders
The path today, and the path once EL1 is live.

How it works today

  • Conditions on Elysium are decided by the engine from Hyperliquid's feeds. Their MARK and ORACLE values are checked after the fact against truth snapshots that TruthProbe reads on HyperEVM and delivers to CoreTruth on Elysium.
  • Conditions on HyperEVM are checked in the fire transaction itself: the executor compares MARK and ORACLE values with HyperEVM's live read precompiles.
  • HyperCore orders go from your executor on HyperEVM through the live CoreWriter at 0x3333333333333333333333333333333333333333.

What switches

The bytecode was designed around the values EL1Read announces: every MARK and ORACLE slot names a HyperCore asset id, which is exactly what a read precompile takes. When EL1Read is live, those slots can be checked on Elysium in the same transaction as the fire, the way the executor checks them on HyperEVM today, instead of a day later through a challenge. When ElysiumCoreWriter is live, HyperCore actions can run from Elysium without a hop to HyperEVM. Strategies keep their bytecode; the language does not change.