Technical Architecture
Frontend (dApp)
Framework: Next.js + Tailwind + shadcn/ui.
Wallet Integration: wagmi + WalletConnect v2.
Tracking Engine:
GPS: Browser Geolocation API with high-accuracy mode.
Motion: DeviceMotion & DeviceOrientation APIs.
Smoothing: Kalman filter to reduce GPS jitter.
Backend
Language: Node.js (NestJS)
Database: PostgreSQL + TimescaleDB (for GPS time series).
APIs: REST + WebSocket for live session updates.
Anti-Cheat Service: Python-based analytics with anomaly detection.
Security
Data Encryption: AES-256 for storage, TLS for transmission.
Privacy Controls: Optional private session mode.
Authentication: Wallet signature (EIP-4361, “Sign-In with Ethereum”).
Last updated