Truvian Shield Docs

Getting started

Welcome to Truvian.

Truvian decides before money moves: it buys evidence from Telegraph's ranked specialist miners, checks every answer against the chain, and returns a signed memo with the cost and a receipt for each answer. It was built for Telegraph Protocol's Season II hackathon and runs on Telegraph's devnode today.

An agent, an exchange, a fund or a custodian that is about to act on a token, a payment or a market outcome usually trusts one source. A model can say a rug pull is "Secure"; a single oracle can be wrong; an issuer can overstate what it holds. Truvian asks the specialists, reads the chain itself, applies fixed public rules, and refuses to clear anything on an answer nobody checked. Every decision is a memo anyone can re-verify.

Where everything lives

The site
truvian.xyz
Token preflight desk
/preflight?desk=trade
Listing review desk
/preflight?desk=listing
Holdings proof desk
/preflight?desk=holdings
Settlement assurance desk (Solana)
/preflight?desk=settlement
Market resolution desk
/resolve
Season I pre-sign check
/app
Run a desk (API)
POST /api/preflight, POST /api/resolve
Read a decision
GET /api/memo/:id, GET /api/memos, GET /api/resolution/:id, GET /api/resolutions
Verify a memo
POST /api/memo/verify
Live counters and escrow ledger
/api/stats
Miner
miner.truvian.xyz · registration 6194
Evaluator adapters
187 (SMART_CONTRACT_AUDIT, runs at scorer.truvian.xyz/runnable) · 242 (CORPORATE_REGISTRY_LOOKUP, scorer.truvian.xyz/crl/runnable)
Telegraph registry contract (Diamond)
0x72a70e949362670Bf8bceAd24eFC5b8f950aa08b on Ethereum Sepolia
Shield's escrow on the node
0x29476125898638c8634a97fdca8994530e8c9055
Memo signer (EIP-191)
0x956aECB0b0DEfC2f2631C26ec0FF7366Ebb53245
Solana devnet wallet (settlements, anchors)
A4X5JKBCLobAY5MeDXkwiRV5Hr7Uu4vUhzHQczwXMBnz
Devnet test tokens
tUSD DThEeRe6uhj2eT8SLrjiLexUiuxrggysA4zCuHE2sUFb · rUSD B6yxPoHwxdThmbJ9C58TXF2TK3JYzsC2R6ggFdUvAz1v
Source code
github.com/mrnetwork0001/Truvian
Telegraph on X
@Telegraphprotoc

The stack, in one paragraph

Everything is TypeScript on Node.js, run with tsx. The Shield server is Fastify 5 (src/shield/server.ts) serving the desks, the API and these docs from src/shield/public as plain HTML, CSS and vanilla JavaScript, with no framework or bundler. EVM chain reads use viem 2; Solana reads, devnet settlements and memo anchors use @solana/web3.js 1.99 and @solana/spl-token 0.4. Telegraph answers are bought through the node's engine route and paid from an Anjoman escrow; visitors past the free runs pay Shield over x402 with a gasless USDC signature. Memos are hashed with SHA-256 over canonical JSON and signed under EIP-191 (src/shield/memo.ts). The miner (src/miner) is a separate Fastify app. Keys live only in the server's .env: TELEGRAPH_API_KEY, TELEGRAPH_PAYER_KEY, SHIELD_MEMO_KEY, SOLANA_DEVNET_KEY. They are never sent to the browser or written into a memo.

Reading order

  1. How a decision is made the loop, and one real decision end to end
  2. Token preflight may this agent buy this token through this pool?
  3. Listing review should an exchange list this token?
  4. Holdings proof does the custody wallet hold what the fund says?
  5. Settlement assurance may a custodian pay this counterparty on Solana?
  6. Market resolution what really happened, before a market settles
  7. The miner registration 6180 and the six intents it answers
  8. Evaluators two champion adapters and the truth sources
  9. HTTP API every route, streaming, and paying with x402
  10. Self-hosting scripts, environment variables, repository map
  11. Results and receipts every stored decision and what it cost
  12. Limits and FAQ what is real, what is testnet, what is not done
  13. Building on Telegraph mainnet what ships next, and who pays for it
TestnetTelegraph Season II runs on testnet. Answers are paid in test USDC from an escrow on Ethereum Sepolia; Shield's own price is test USDC on Base Sepolia; settlements and anchors are on Solana devnet in test tokens. None of it has monetary value. The facts checked (token supply, pools, sanctions lists, registries, market outcomes) are real. Truvian is an independent hackathon entry.