Technical docs
Topology
High level architecture
Request flow from wallets through the Next.js BFF, agent workflow, and on chain settlement.
The browser talks to a single Next.js deployment. Route Handlers own all authentication, the data model, and orchestration of Stellar/Soroban operations, and proxy AI workloads to the agent workflow service. Wallets sign transactions client side; secrets and the pool live server side or on chain.
The diagram above shows how traffic enters from businesses, customers, and wallets; how the Next.js BFF orchestrates auth, payments, and compliance; and where data lands in MongoDB, the agent workflow service, and the Stellar network.