Docs/Developers
Developers

Architecture

Next.js server routes isolate providers and RPC, while shared TypeScript engines keep market, API, simulator, and vault calculations consistent.

01

Architecture

Next.js server routes isolate providers and RPC, while shared TypeScript engines keep market, API, simulator, and vault calculations consistent.

Server-side adapters and caches protect browser clients from provider schema changes and duplicate calls. Shared types define production-grade normalized contracts for every UI surface.

02

Operational controls

Validate inputs and upstream payloads. Keep secrets server-side and public configuration explicit. Use chain ID 4663 and no localhost runtime dependency.

03

Limits and risk

A Reown project ID and future deployed contract addresses are external configuration; neither should be fabricated in source.

Risk boundary

Missing, stale, or contract-dependent values remain unavailable. Hinge does not insert demo values to complete a calculation.