Docs
Architecture
A public website, an HTTP API, a publishable SDK, and shared policy. Solana programs are out of this milestone.
Pieces
apps/web is the Next.js site: swap, hooks, developers, docs, security, and status.
API routes live in the Next.js app under /api. The handlers stay in apps/api so the same code is tested without a second server. Provider-specific routing belongs in an adapter, not in the page.
packages/sdk is the public TypeScript client and the request parsers.
packages/shared holds the mainnet write lock and the default fee policy.
Networks
Devnet and Mainnet state are selected explicitly. The UI stores only the chosen cluster under light-wire:cluster so the two networks are not mixed in one cache.
