API and App
The Arenaton server serves the public API, compatibility routes, WebSocket endpoint, and operational status. The public app surfaces are deployed separately so each environment can enforce the correct network and collateral boundaries.
Public Surfaces
Section titled “Public Surfaces”| Surface | Host |
|---|---|
| Public site | https://arenaton.com |
| Production Flutter app | https://app.arenaton.com |
| Paper Flutter app | https://paper.arenaton.com |
| API health | https://server.arenaton.com/health |
| REST API | https://server.arenaton.com/api/* |
| Paper REST API | https://server.arenaton.com/api/paper/* |
| WebSocket | wss://server.arenaton.com/ws |
| GraphQL compatibility | https://server.arenaton.com/graphql |
| Production contract registry | https://server.arenaton.com/api/contract-registry |
| Paper contract registry | https://server.arenaton.com/api/paper/contract-registry |
App Direction
Section titled “App Direction”The same user-facing app direction covers production web, paper trading, off-store Android, and later Play Store releases. Production and paper web surfaces stay separate so each build can enforce the correct environment.
Real-Time Paths
Section titled “Real-Time Paths”Trading paths use REST plus WebSocket where appropriate. Live market and order flows must preserve Live State Version checks so stale live orders cannot fill after material event changes.
Static Routing
Section titled “Static Routing”The public site serves generated static routes independently from the API server.