Technical Documentation
CloudBank technical documentation covering system architecture, API reference, and implementation details.
Architecture
Comprehensive architecture documentation for the CloudBank prediction market platform:
- Architecture Overview — System diagram, technology stack, data flow
- Smart Contracts — Solidity contracts, market lifecycle, CTF integration
- Orderbook & AMM — CPMM formula, orderbook engine, hybrid routing
- Settlement — Optimistic oracle, AI auto-settlement, dispute flow
- Gas Sponsorship — ERC-4337 AA, Paymaster, gasless transactions
- Backend Services — Go API, custodial wallet, authentication
- Frontend — React apps, wallet integration, state management
- Indexing — The Graph subgraph, GraphQL schema, event handlers
- Infrastructure — CI/CD, deployment, monorepo structure
API Reference
- API Reference — REST API, smart contract interfaces, GraphQL queries, WebSocket