Docs

Backend Services

Go for chain-critical services, TypeScript for admin, CMS and composition.

Services

  • API Gateway
  • Blockchain Service
  • RPC Router (Go)
  • Portfolio Service
  • Transaction Indexer (Go)
  • Token Metadata
  • Market Data (CoinGecko, CoinMarketCap, CryptoCompare fallback)
  • Swap · Bridge · Fiat · Staking · NFT
  • Security (WafiShield)
  • Notification (APNs/FCM)
  • Analytics · Admin · CMS · Feature Flags

RPC Router

  • Primary → secondary → backup
  • Health checks every 15 s; p95 latency scoring
  • Timeouts 3 s read / 10 s broadcast
  • Retries only on idempotent reads
  • Circuit breaker opens after 5 consecutive failures
  • Rate-limit aware routing

Items marked NATIVE must be implemented as audited native code (Swift, Kotlin, Rust or C++), not in the web app.