.
├── apps/
│ ├── api/ Bun + Hono REST (X eval, markets, price feed, positions)
│ ├── web/ Next.js 15 + Reown AppKit + HeroUI v3
│ ├── judge-worker/ Bun cron — runs the judge in TEE + posts on-chain
│ └── documentation/ This Mintlify site
├── packages/
│ ├── contracts/ Solidity (Foundry) — 138 unit + 4 mainnet fork tests
│ ├── sdk/ Viem-based TypeScript SDK (incl. fetchMarketYield)
│ ├── ai-gatekeeper/ Gatekeeper / writer / judge prompts + OpenAI-style client
│ ├── shared/ Types + 0G network + contract constants
│ ├── graphql/ Goldsky subgraph client (typed queries)
│ ├── storage/ 0G Storage SDK wrapper (judge prompt seal + retrieve)
│ └── subgraph/ Goldsky manifest + handlers
├── deploy/ pm2 ecosystem + nginx vhosts + bootstrap notes
└── turbo.json