Truvian Shield Docs

The desks

Market resolution.

Before a prediction market settles, Truvian Resolve asks up to three independent Telegraph miners what happened, counts only answers that cite a source on the event, and decides RESOLVED, DISPUTED, REVIEW or TOO EARLY. Every memo's digest is written to Solana devnet, so anyone can prove the decision existed, unchanged, by that slot.

How to use it

Open /resolve or call POST /api/resolve.

FieldWhat it isNotes
sourcepolymarket, kalshi or manualrequired
marketa Polymarket market id or slug, or a Kalshi tickerread from the venue's free public API
question, rules, closeTimemanual markets onlycloseTime in ISO 8601
eventthe text sent to minersoptional override, at most 256 bytes (the node's limit); recorded in the memo

How it decides

DecisionWhen
too earlythe market has not closed and is not settled: nothing is bought
resolvedat least two independent sourced answers agree, and agree with the venue's settlement when there is one
disputedsourced answers disagree with each other or with the venue's settlement
reviewfewer than two sourced answers: no decision either way

Who is asked. The node's routed pick for EVENT_OUTCOME_RESOLUTION_GENERAL, then up to two specialists pinned by id, at most one per operator, never a miner that reads the market's own venue (it would only echo the market), at most $0.02 each and at most $0.04 per decision. An answer counts only with a yes or no and a source that names the event; an answer whose winner contradicts its own outcome is marked inconsistent.

How it is built

src/shield/resolve.ts: readMarket reads Kalshi or Polymarket, selectPinned picks the miners, judgeAnswer grades each answer and decide applies the rules above. The memo is signed by signAnyMemo and its digest anchored by anchorDigest in src/shield/solanaAnchor.ts: one Memo-program instruction with the text Truvian Resolve sha256:<digest>, signed by the devnet wallet. Routes are in src/shield/resolveRoutes.ts; npm run test:resolve replays recorded answers twice and checks the decision and digest do not change.

Real resolutions, 25 Nov 2026

Honest caveatMarkets come from Polymarket and Kalshi: the one Solana-native market API tried (DFlow) refused every request, so the Solana part is the anchor. f0rHop0u asked miners whether the deal was signed, which is narrower than the market's rule (an announced deal counts); the override is in the memo. Few miners on the node resolve free-text events: of five settled markets tried, one reached RESOLVED.