Truvian Shield Docs

Getting started

How a decision is made.

Every desk runs the same loop: read the chain, buy each fact once from a ranked Telegraph miner, apply fixed rules, sign the memo. The rules are public and pure, so the same reads and answers always give the same decision, and anyone can re-derive it from the memo.

The loop

Read the chainFree, direct JSON-RPC reads by Shield itself: a token's code, supply and decimals, a wallet's balance, a Solana mint's authorities and extensions. On Solana mainnet two providers must agree.
Buy each factOne routed ask per fact through Telegraph's engine (POST /engine/ask), paid from escrow. The node picks its ranked miner and returns the answer with a receipt and a signal hash.
Second opinionWhen an answer is no evidence (no answer, no figure, nothing examined, about another token), one more ask goes to the next-best miner on the node's leaderboard, pinned by id, within the budget.
Fixed rulesEach finding is block, review, info or pass. Any block rejects; any review sends it to a person; only a clean set clears.
Signed memoSHA-256 over canonical JSON, signed under EIP-191. Settlements are then paid on Solana devnet; resolutions are anchored there with the Memo program.

A second opinion may hold a decision back but never clears one on its own: when the ranked miner did answer but gave no evidence, a clean pinned answer is recorded and not used (withSecondOpinion in src/shield/preflight.ts). A fact bought in the last 10 minutes is reused at $0 (SHIELD_REUSE_TTL_MS); a failed answer is never reused. Each decision has a budget, $0.10 by default (SHIELD_PREFLIGHT_BUDGET_USD); a plan over it buys nothing and ends in REVIEW.

The life of one decision

Memo Py5ehwTL, 25 Nov 2026 at 11:14 UTC: a custodian asks to pay 1 tUSD on Solana devnet to a wallet belonging to "Garantex Europe OU", registered in Estonia.

  1. Chain reads. The tUSD mint is a plain SPL token with a freeze and a mint authority. The payer holds 999 tUSD at slot 526131101. Both are disclosed as info and pass.
  2. Sanctions. Routed to miner 78004, OpenSanctions US OFAC Index, $0.01, 57.7 s: matched: true on us_ofac_sdn. Finding sanctions.match: block.
  3. Registry. Routed to miner 6164, Praman Desk, $0.01, 44.5 s: the entity is not active. Finding registry.inactive: block.
  4. Payer balance. Routed to miner 20260828, which answered with no figure; a second opinion was asked and was no evidence either. On 25 Nov no miner on the node answered Solana balances, so the funds check rests on the chain read (info, not a hold).
  5. Decision. REJECT, "at least one finding blocks the payment". The payment was not sent. Four paid answers, $0.04 of test USDC, 73.9 s end to end.
  6. Memo. sha256 6b04009c…47ecbb, signed by 0x956aECB0b0DEfC2f2631C26ec0FF7366Ebb53245. Open it and press Verify signature: the browser recomputes the digest and recovers the signer.

The site at a glance

AreaWhat it holds
LandingThe desks, real decisions, the live ledger tape and counters, the three tracks, the API.
/preflightFour desks as tabs (a bottom bar on phones), fixtures to try, the streamed decision, findings, every answer with its miner, cost and receipt, and the signed memo.
/resolveThe market resolution desk: the market as its venue states it, each miner's answer and how it counts, the decision and its Solana anchor.
/appThe Season I pre-sign check, kept online with its Season I wording.