chainroll

The Ethereum chain list on Arkiv: queryable, signed, with live RPC checks and privacy labels.

chainroll

Created At

ETHGlobal Mumbai

Winner of

Arkiv

Arkiv - Mirror something Ethereum depends on 2nd place

Project Description

Chainroll puts the Ethereum chain list on Arkiv and shows whether you can trust it.

Wallets and listing sites rely on ethereum-lists/chains, a folder of JSON files on GitHub. MetaMask, Chainlist and ethereum.org all read data built from it. But nothing checks that a listed RPC works, is on the right chain or is current, and anyone can copy the list and claim it is the real one. We tested every listed RPC: about 63% did not answer correctly, and the count was nearly identical from Mumbai and US West (2,612 vs 2,611). 1,815 of the 2,647 chains we could test had no working RPC in that survey.

Chainroll mirrors all 2,855 chains, 4,219 RPCs and 2,536 explorers to Arkiv's Rabdi testnet, and adds Chainlist's 2,848 RPC URLs with their tracking labels and privacy statements, credited and kept under GPL-3.0. Each record is queryable with no API key: find L2s of a chain, chains with a reused ID, or Ethereum RPCs that pass right now.

Trust is checkable, not assumed. The ENS name chainroll.eth names the publisher, a signed Sepolia transaction anchors the release, and a Merkle proof ties each Arkiv record to the exact upstream file. All 2,855 chains verify. The Verify page runs these checks in your browser, and a trust map lights up each step across Ethereum, Arkiv and GitHub.

Two probers on Railway, in Southeast Asia and US West, test 958 RPCs in repeated rounds and publish signed readings. Each reading expires within 2 hours if its prober stops, so a stale green cannot linger. Apps only trust probers named by the publisher, and Arkiv's owner field keeps fake records out of what apps show.

The site is static: your browser reads Arkiv and Ethereum directly, and shows the Arkiv query behind the network list.

How it's Made

Chainroll is a TypeScript monorepo on Bun, with four parts: an importer, probers, a browser-safe read client (shared by the CLI and the site) and a React + Vite site.

Importer: it reads ethereum-lists/chains at a pinned commit and splits each file into a core chain record plus separate RPC and explorer records, because RPCs churn and chain identity doesn't. The raw file is kept byte for byte with its git blob hash. It builds an OpenZeppelin Merkle tree over (chainId, shortName, sourceBlob), then writes to Rabdi with @arkiv-network/sdk in batches of 20. A re-run at the same commit writes nothing.

Arkiv: this is the core of the project. Owner on every entity lets anyone write while apps only show the publisher and named probers. Per-entity expiry means a stopped prober's readings vanish within 2 hours, with no cleanup job. Patching keeps one health record per RPC per prober. Indexed, typed attributes make each registry question one query, and open browser reads mean we run no backend.

ENS: we registered chainroll.eth on Sepolia's ENSv2 entirely from our CLI, including deploying the per-account resolver. Text records name the publisher and latest anchor. Probers are subnames, so one can be added or removed without a new release, and we tested a handover that leaves a hot key only the release records on a throwaway name. chainroll.eth itself has not been handed over.

Probers: Dockerised on Railway in two regions, stamping their region from Railway's env. Each round sends eth_chainId, block 0 and latest block to 958 RPCs, signs readings with EIP-191 and keeps uptime history in SQLite.

Site: static on Vercel, reading Arkiv and Ethereum straight from the browser. Verification runs client-side, reading ENS through two RPC providers.

Hacky bits:

  • The anchor is a transaction to self with readable calldata, "chainkiv/1 {json}", so you can read a release on Etherscan.
  • Chainlist's data is a JS file. We parse it with acorn and read the AST, so its code never runs.
  • Arkiv cursors break on the next block, so we page on $key instead.
  • Rabdi's no-key budget is small, and our first site used over 2,000 requests per load. Now it checks the signed release and skips the full read if it matches its cached copy, cutting a visit to about 40. Verify waits out rate limits.
  • A 64 KB response cap marked every Ethereum RPC down, because blocks were 88 to 104 KB.
  • Pruned nodes refuse block 0, so an unknown first block is shown as "unconfirmed", never failed or passed.
  • Tamper tests ran on a private arkiv-reth chain.

Claude Code wrote most of the code and docs from our PRD and decisions.

background image mobile

Join the mailing list

Get the latest news and updates

chainroll | ETHGlobal