Welcome to Qorva
Qorva re-executes any QoreChain rollup from its L1 inbox and tells you, batch by batch, whether the state root the sequencer settled is the one the inbox actually produces. It is rollup developer tooling for the QoreChain testnet qorechain-diana (EVM chain id 9800), entered in the Build Before Q-Day hackathon in the Protocol Builders category.
An optimistic rollup is only as safe as the people who re-execute it. QoreChain accepts a sequencer's state root and opens a challenge window (3,600 s on testnet, read from the x/rdk params on 2026-11-30). If nobody re-executes the batch inside that window, a wrong root becomes final, together with every withdrawal it authorises. Qorva turns re-execution into one page, one command or one CI step, and checks the post-quantum parts (ML-DSA-87 anchors and settlement receipts) against the chain at the same time.
- Replay - re-execute every settled batch of a qledger-v1 rollup and compare each state root.
- Receipts - build a post-quantum settlement receipt from chain state and verify it, with a tampered copy that must fail.
- Rollup CI - fail a build the moment a settled root stops reproducing.

Where everything lives
Every route and deep link below exists in this app. The console views read their state from the query string.
&rollup=veil-pay-1 to start a replay on load&rollup=<id> to audit that rollup's latest batch on load&rollup=<id> to open one rollup/api/replay, /api/debug, /api/sentinel, /api/health-board, /api/pqc-hygiene, /api/receipt, /api/pulse, /api/testnet, /api/appchain/rpc. See HTTP API.packages/qorva-cli (qorva replay | receipt | verify-receipt) and packages/qorva-cli/action/action.yml. Not published to npm yet. See Rollup CI.github.com/mrnetwork0001/Qorva, private for now: access on requesthttps://api-testnet.qore.host, CometBFT RPC https://rpc-testnet.qore.host, EVM JSON-RPC https://evm-testnet.qore.hosthttps://dashboard.qorechain.io/explorer/tx/<hash>README.md, LIMITS.md, THREAT_MODEL.md, EVIDENCE.md, AI_USAGE.md, docs/ROLLUP_CI.md, and two upstream SDK bug drafts in docs/upstream//legacy (an earlier UI, not reviewed for these docs) and /heroes/1 to /heroes/4 (landing hero concepts)The stack, in one paragraph
A Next.js 15 App Router app (15.5.29 installed) on React 19.3 and TypeScript 5.8.2, styled with Tailwind CSS 3.4. All chain logic goes through QoreChain's published SDKs: @qorechain/rdk 0.9.0 for the rollup client, the qledger-v1 executor (executeQledger), inbox hashing, settlement receipts and fraud proofs; @qorechain/evm 0.14.0 for the precompile ABIs; @qorechain/qoreseal 0.1.0 for ML-KEM-1024 sealing; @qorechain/qoresign 0.2.0 and @qorechain/sdk 0.14.0; and viem 2.58.7 for eth_call. The verification code lives in src/lib/ and runs on the server; API routes in src/app/api/ stream or return its results. Reads go to the public testnet endpoints above. Caches live in memory and in the git-ignored .qorva/ folder (health.json, pqc-hygiene.json). Keys exist only for the qorva-l2 testnet sequencer, in a git-ignored .env.local (on 2026-11-30 GET /api/testnet reported configured: false). The CLI in packages/qorva-cli is bundled with esbuild from the same src/lib/replay-engine.ts, with @qorechain/rdk as its only runtime dependency. Tests run on Vitest 3.2 against the live testnet.
Reading order
- How it works: follows one real batch (setoff-1 #113) from inbox to receipt.
- Replay: the core: re-execute a rollup and compare every state root.
- Batch debugger: see exactly why an inbox entry was a no-op.
- Settlement receipts: the post-quantum part: an ML-DSA-87 anchor checked against the chain.
- Rollup CI: how a rollup team would put this in CI.
- Limits & FAQ: what is real, what is local, and what has not run yet.