System Architecture

DIVINE Screener’s Rust runtime supports Solana and Robinhood Chain. The stack and thresholds below describe the Solana path.

Stack

ComponentWhat It Does
DexstreamWebSocket ingestion from DexScreener's Solana feed
AegisSolana blacklist, holder, liquidity, and coordination checks
Solscan APISolscan swaps, holders, balances, and SOL market data
SeraphimHTTP/WebSocket transport, retries, and browser impersonation
GrimoireSQLite database for signals, blacklist, cooldowns
DivineScanner, Telegram delivery, Live Activity, TUI, and health endpoints

Data Flow

  1. Dexstream pulls Solana token pairs via WebSocket
  2. Filters apply: $3K-$14K mcap, liquidity floors, spam checks
  3. Aegis runs security modules in parallel using Solscan, RugCheck, SQLite state, and local heuristics
  4. Passed signals go to Telegram, and Live Activity refreshes verified signals with DexScreener + Solana RPC updates

Security Stack

The Solana Aegis path includes:

  • RugCheck token integrity and fallback holder data
  • Blacklist lookup (50K+ wallets)
  • Holder concentration analysis
  • Leiden-based coordination detection
  • Paper hands / new wallet heuristics
  • Solana block concentration checks

Current production thresholds are Solana-specific, including 60% / 65% block concentration limits and a new-wallet rule of <6 transactions or <3 days old.

Operations

  • A Rust runtime replacing the legacy Python stack
  • 96%+ workspace line coverage target
  • Immutable image deploys to the VPS
  • Read-only container runtime with health checks and sandboxing
  • Retry/backoff on Solscan, RugCheck, DexScreener, and RPC paths