The problem
When you pay someone to run a model, you can't tell whether they ran the big model, a cheaper one, or nothing at all.
What it is
Any service or contract can ask for ML work and get a verdict. Bonded operators run pinned model containers; a random verifier re-runs a share of jobs, and a committee settles disputes. Live today for speech-to-text and OCR.
How it flows
- 01Agent pays (x402)
- 02Gateway → createJob
- 03Executor commits
- 04Audit draw → verifier
- 05Verdict or slash
What I built
Contracts
Escrow, bonds, PRNG draws, audits, a 3-member committee and slashing, plus a registry and a verdict interface other contracts can read.
Bond math
Bonds are sized between a deterrence floor and a fairness ceiling; createJob reverts if no bond satisfies both.
Attack lab
One click makes an operator cheat (garbage, smaller model, truncation, replay, no-show) so you can watch it get caught, slashed and the buyer refunded.
Published SDK
@kapish505/hallmark-sdk, -contracts, -operator and -model-spec on npm; a smoke test installs them fresh and runs a job on testnet.
Stack
- Solidity
- Foundry
- Hedera
- x402
- Whisper large-v3
- Tesseract 5
- TypeScript
- ethers
Limits
A verdict says the output matches the pinned model. It does not say the output is true. Testnet, 0.x alpha packages.