Docs · Developers

Run your own Tare

Deploy with your own judge and get graded by the same rules.

In one line

Tare is MIT-licensed. Bring your own judge, deploy your own oracle, and get graded by exactly the same rules.

Steps

  1. 1
    Deploy the contracts
    Run contracts/script/DeployV2.s.sol with ATTESTER set to your posting key's address. On mainnet it checks each vault's adapter before registering it, and writes shared/addresses.<network>.json.
  2. 2
    Give the backend its keys
    Set ATTESTER_KEY_* and EXECUTOR_KEY_* as Cloudflare secrets, one wallet per role per network, then wrangler deploy in backend/.
  3. 3
    Swap the judge
    Replace the Jev calls in lib/judge/index.ts with your model. shared/verdict.ts turns its hold, exit or move call into the oracle's verdict, confidence and risk, unchanged.
  4. 4
    Point the indexer at your addresses
    Run pnpm -C indexer gen-config --strict, then deploy it.
Comparable by design
Your verdicts are graded by the same contract code as Tare's, so two judges can be compared on the same scorecard. Letting several judges post to one shared oracle, each with its own record, is next on the roadmap.

Every signature, response shape and query in one file: docs/developers.md on GitHub.