Pythia
Pythia is the cryptographic substrate that backs every economically-meaningful event on Zenith. Each event becomes a tamper-evident leaf in a Merkle tree; the tree’s root is anchored to Bitcoin via the OpenTimestamps protocol. Anyone can verify, without trusting Zenith, that the event happened exactly when and how the platform claims.
What gets recorded
- position_commit: every trade, with the side, size, and exact LMSR probability at the moment of placement.
- mint_event: every DELPHI minted on a winning resolution, with the formula inputs (edge, profit, calibration) attached to the leaf.
- resolution: every market outcome, with payout totals.
How verification works
- Fetch a leaf via
GET /v1/pythia/leaves/<id>. - Recompute its hash:
sha256(0x00 || sha256(canonical_json(payload))). The payload is returned alongside the stored hash. - Replay the Merkle proof by alternately hashing with each sibling (
sha256(0x01 || left || right)). The result must equal the root. - Verify the OpenTimestamps proof yields a confirmed Bitcoin block height. Once anchored, that root is permanent and globally inspectable.
Live state
Loading…
Verify a leaf
Enter a Pythia leaf id (you’ll find these in the response when you place a position, in the API at /v1/pythia/leaves/<id>).