Platform
Architecture

Architecture

One Go binary, one Postgres, one Redis, two contracts.

Backend — Go (single binary)

  • Uniswap event indexer on Robinhood Chain
  • Oracle staleness watcher
  • Risk scoring engine
  • Alert dispatcher
  • MCP server endpoint
  • Halt poller — exchange halt notices during market hours
  • RiskFeed publisher — on-chain score publication
  • Cron worker — daily digest, public feed generation, threshold recalibration

AI / ML

  • LLM pipeline for filing extraction and policy compilation
  • Time-series anomaly detection model per token
  • Filing and news retrieval via pgvector — no separate vector database
  • Backtesting harness for threshold calibration

Data

  • PostgreSQL + TimescaleDB + pgvector — one instance covering time-series, relational, and vector retrieval
  • Redis — verdict cache with second-level TTL

Smart contracts — Solidity

ContractRole
NocturnerGuardERC-4337 policy module and session-key validator hook
RiskFeedOn-chain publication of risk scores

Frontend

  • React/TypeScript dashboard
  • Telegram bot (Go)