Triad
DocsRun it yourself

Build

Run it yourself

Node 22 and pnpm 10. Every page works without keys; live runs need testnet keys and a Telegraph balance.

pnpm install
pnpm check                      # typecheck and test every package
pnpm web                        # sync the public record into the app and start it on :3000
(cd contracts/evm && forge test)
(cd programs/solana && anchor build && cargo test)

Keys and settings

TRIAD_EVM_OPERATOR_KEY
Pays Telegraph and funds escrows on Sepolia.
TRIAD_EVM_RELEASE_OFFICER_KEY
Signs release authorizations.
TRIAD_EVM_ISSUER_KEY
Signs evidence hashes.
TRIAD_SEAL_SECRET
Seals issued results so a callback can’t be forged.
BLOB_READ_WRITE_TOKEN
The ledger and share permalinks, on Vercel.
TRIAD_X402_PAY_TO
Where agents’ x402 payments go.
TELEGRAPH_DNS=google
If your resolver can’t reach Telegraph’s node.

Locally, pnpm keys writes owner-only key files to .secrets/, and pnpm telegraph:deposit funds Triad’s Telegraph escrow.

Repository

apps/web            the check, attack lab, ledger, evidence viewer, benchmark and these docs
apps/cli            triad decide | verify | fund | release
apps/mcp            the MCP server for agents
apps/extension      the Gmail and Outlook extension
packages/           core · intel · evidence · settle
contracts/evm       ShipmentEscrow (Foundry)
programs/solana     triad_escrow (Anchor)
benchmark/          triad-v1 frozen cases and results; the independent look-alike set