> For the complete documentation index, see [llms.txt](https://getpulz.gitbook.io/getpulz-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://getpulz.gitbook.io/getpulz-docs/mechanism/technical-architecture.md). Agents can also search and read this documentation through its [MCP server](https://getpulz.gitbook.io/getpulz-docs/~gitbook/mcp).

# 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”).
