One command, clean environment, no secrets. The full battery runs both targets and writes ten receipts.
Build the harness, the target simulation, and both contracts (reference and attest wasm builds per the M1 and M3 records in docs/ROADMAP.md):
pnpm install && pnpm -r buildpackages/web build: ✓ Generating static pages using 4 workers (2/2) in 125ms packages/web build: Done packages/harness build$ tsc -p . --noEmit packages/harness build: Done
Committed build output, verbatim from the repo README.
ARENA_TARGET=gateway|reference | runs a single target. Unset, the full battery runs against both targets. An unknown value exits 2 before any account creation (usageFail, run.ts). |
ARENA_ATTEST=1 | opt-in and the one step that is not secret-free: additionally requires ARENA_ATTEST_ACCOUNT_ID and ARENA_ATTEST_PRIVATE_KEY, a funded testnet account of your own (attest.ts), supplied as env vars, never committed. The base run stays secret-free (FR-9, SC-1 in PRD.md §7). |
ARENA_ATTEST_CONTRACT | point it at your own deployed copy of the attest contract (config.ts override). |
node startup against the 120 s budget, measured in the M0 spike record (docs/ROADMAP.md).
per-tx p95 against the 5 s budget, same record.
One JSON receipt per attack and target at receipts/<attack_id>/<target>-<run_id>.json. Ten receipts are committed under receipts/ in this repo. Recompute every verdict hash and check it on-chain on the verify page.