REQUIEM
Docs · 06

Running a reporter

A reporter is a key with a bond in the Bonds contract: between 0.1 HYPE and 250 HYPE at launch. It gets a permanent id; its signatures count while its bond is at least the minimum. Each final round it signs pays it an equal share of 80% of the round's fee, claimable with claimEarnings on Feeds.

The node

The reporter node is one file served by this site, for Node 20 or newer with one dependency (viem).

curl -sO <this site>/node/requiem-reporter.mjs
npm i viem
node requiem-reporter.mjs observe                  # what it would sign now, no key needed
REQUIEM_KEY=0x... REQUIEM_SITE=<this site> node requiem-reporter.mjs bond 1 https://your-host/observe
REQUIEM_KEY=0x... node requiem-reporter.mjs serve --port 8787   # signed observations at GET /observe
REQUIEM_KEY=0x... node requiem-reporter.mjs relay --loop 60     # collect signatures, submit due rounds
REQUIEM_KEY=0x... node requiem-reporter.mjs watch --loop 120    # check pending rounds, dispute, vote
REQUIEM_KEY=0x... node requiem-reporter.mjs unbond 1 | withdraw | claim | status

REQUIEM_SITE lets the node read the contract addresses from /api/network; REQUIEM_FEEDS, REQUIEM_BONDS and REQUIEM_COURT set them directly. ELYSIUM_RPC defaults to the public Elysium RPC; REQUIEM_ENDPOINTS adds reporter observe URLs for relay mode, on top of the active reporters' on-chain endpoints. The key is read from the environment and never printed.

Unbonding

requestUnbond(amount) moves an amount out of the active bond at once (what stays must be zero or at least the minimum); withdraw sends it after 3 days, and not while a dispute naming the reporter is open. Unbonding funds stay slashable until withdrawn.

The launch reporters

At opening the network runs three reporters and one relayer operated by the Requiem team, each with its own key, route and schedule, all running the same node file. Anyone who bonds joins the same set with the same weight rules.

Bond asset

Bonds are in HYPE at launch. The owner can switch the bond asset once, to $REQUIEM, with three days of notice. From the switch, HYPE bonds weigh zero and leave through normal unbonding, and new bonds are posted in $REQUIEM with their own minimum, cap and dispute bond.