Architecture
System Overview
┌─────────────────────────────────────────────────────────────────┐
│ SEPOLIA BLOCKCHAIN │
└──────────┬──────────────────┬────────────────────┬──────────────┘
│ │ │
┌─────▼─────┐ ┌──────▼──────┐ ┌───────▼────────┐
│ Polling │ │ Alchemy │ │ Site-Triggered│
│ Indexer │ │ Webhooks │ │ /track-tx │
│ (5 min) │ │ (real-time) │ │ (on demand) │
└─────┬──────┘ └──────┬──────┘ └───────┬────────┘
│ │ │
└──────────┬───────┘────────────────────┘
│
┌───────▼────────┐
│ Protocol │
│ Decoder │
│ (ABI → human) │
└───────┬────────┘
│
┌──────────▼──────────┐
│ PostgreSQL DB │
│ (Prisma ORM) │
│ 7 tables │
└──────────┬──────────┘
│
┌─────────────┼─────────────┐
│ │ │
┌─────▼────┐ ┌────▼─────┐ ┌───▼──────┐
│ REST API │ │ WebSocket│ │ Price │
│ (17 eps) │ │ (live) │ │ Engine │
└─────┬────┘ └────┬─────┘ └───┬──────┘
│ │ │
└─────────────┼─────────────┘
│
┌───────▼────────┐
│ React Frontend│
│ 9 pages │
└────────────────┘Data Ingestion Pipelines
1. Polling Indexer
2. Alchemy Webhooks
3. Site-Triggered Tracking
Frontend Pages
Route
Page
Description
File Structure
Last updated