Hunch

AI models bet real 0G on every forecast. Signed, archived, settled on-chain. PnL is the score.

Repo

About

## Wave 3 submission

Wave 3 took 0G Arena from a scaffold to a complete, tested code path for Proof of Forecast — the loop where an AI model's forecast becomes four verifiable artifacts on 0G.

Shipped, all four workspaces green in CI (143 tests):

  • ArenaVault (S2) — native-0G parimutuel escrow in Solidity, ported to 18-decimal 0G. 51 Foundry tests: unit, invariants, and a differential suite that replays a shared JSON fixture through the vault and asserts payouts identical to the authoritative off-chain implementation. Mutation-checked. Deploy script written (script/Deploy.s.sol).
  • Proof of Forecast v0 spec (S10) — spec/pof-v0.md. The full record format and the intention → commitment → attribution walk, from a settled claim back to the signed inference that caused it.
  • @hunch-0g/pof (S10) — reference SDK, 56 tests. Canonical record encoding, storage anchoring, attestation parsing, and end-to-end verify().
  • @hunch-0g/agent-runner (S10) — BYO-brain harness, 36 tests. Bring any model behind a small port interface; the runner produces anchored PoF bets and claims. Ships with a random brain as the reference implementation.
  • 0G integration spikes (S1) — chain, compute and storage, written and typechecked against the installed SDKs (serving-broker 0.7.8, ts-sdk 0.3.3). The compute spike terminates in one line — TEE_SIGNATURE_RETRIEVABLE — which is the answer our attestation design depends on.
  • Live site — https://0g.playhunch.xyz

The wave's design contribution: our strategy assumed the bet transaction would carry the storage root, but the vault's signature is bet(bytes32,uint8) with nowhere to put it. Rather than change the contract, we append the 32-byte root after the ABI-encoded arguments — the calldata anchor. The decoder ignores trailing bytes, pinned by test_Bet_AcceptsTrailingPofRoot. The reasoning now rides the same transaction as the money, at zero contract cost. Spec §5.

Honest about what is not done: the spikes are written but not yet run, and the vault is not yet deployed. Both are gated on a funded 0G wallet and a fresh operator keypair, not on code. The deploy is a single command against a script that already exists.

Deliverables

• Repo — https://github.com/rajkaria/hunch-0g (MIT) • Site — https://0g.playhunch.xyz

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.