Dev log

Twenty soft precompiles on Elysium

2026-12-01 UTC

The reader is deployed on HyperEVM at 0x490A253Ac89Be6A44656ccF4F45465fE7d903006. On Elysium the hub sits at the same address and accepts writes only from 0x5A1b253aC89Be6a44656ccF4f45465fe7d904117, the reader's alias; the twenty soft precompiles end in their HyperEVM ids, from 0x...000800 to 0x...000813.

The first ticket went through the Inbox and wrote the BTC mark and oracle prices on Elysium, stamped with HyperEVM block 52,739,269 and HyperCore block 1,241,595,073. The BTC mark price read back from 0xE68C9fBC3D2df1D172e3F9FfBCC667E986000806 with the HyperEVM encoding: 609245, or 60,924.5.

A keeper now refreshes eight feeds every hour, and any read can be requested from Elysium for a fee of 0.0002 HYPE. The app reads the soft precompiles directly and shows the age of every value.

Builder: interface, snippet and fork test

2026-12-01 UTC

The Builder generates ProtosRead.sol with L1Read's function names and structs, a call site with a freshness check, and a Foundry test that forks Elysium mainnet and installs the bytes HyperEVM returned seconds earlier.

Deploy from wallet: ProtosConsumer(source, input, maxAge), compiled once, deployed to Elysium with your wallet.

The full message path, proven on two forks

2026-12-01 UTC

A fork test runs ProtosReader.push against the real Inbox on a HyperEVM mainnet fork, reads the bridge's MessageDelivered event and checks that the recorded sender is the reader's aliased address, with message kind 9 and a matching data hash.

The same calldata is then delivered on an Elysium mainnet fork as that alias. A consumer reading the soft precompile with the raw L1Read encoding gets the HyperEVM output byte for byte. The same calldata from any other sender reverts.

76 tests pass across the contracts, fuzz tests included.

Twenty read precompiles checked against HyperEVM mainnet

2026-12-01 UTC

Every read from 0x0800 to 0x0813 was called with eth_call on HyperEVM mainnet and decoded with the published layouts, from position and spotBalance to borrowLendReserveState and position2.

Each soft precompile has a CREATE2 address on Elysium that ends in its HyperEVM id: the oracle price read, 0x0807 on HyperEVM, lives at an address ending in 000807.