KAIRO
Docs · 05

Running a reporter

A reporter is a key with a bond in KairoBonds: 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 KairoFeeds.

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

KAIRO_SITE lets the node read the contract addresses from /api/network; KAIRO_FEEDS, KAIRO_BONDS and KAIRO_COURT set them directly. ELYSIUM_RPC defaults to the public Elysium RPC; KAIRO_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 Kairo 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 $KAIRO, with three days of notice. From the switch, HYPE bonds weigh zero and leave through normal unbonding, and new bonds are posted in $KAIRO with their own minimum, cap and dispute bond.