Devnet · Checking

Quantum QLi Help

Product guide · current implementation

White PaperDevnet video ↗

Quantum QLi Help / Developers

On this page

Architecture and contributor map

Routing and shared state

File-based TanStack routes live in src/routes/. src/routes/__root.tsx owns providers, desktop Shell, Outlet and transaction review. src/router.tsx creates the router; src/routeTree.gen.ts is generated and must not be edited. Every content route has app-specific metadata from src/lib/qli-core/data.ts.

Code map

PathResponsibility
src/components/qli-core/shell.tsxGlobal menus, sources, toolbar, Dock and public session console
src/components/qli/desktop-window.tsxBounded frontend window movement/focus support
src/lib/qli-core/context.tsxRequest-isolated console session, wallet, identity and reviewed plans
src/lib/qli-core/repository.tsTyped demo/session strategy repository
src/components/qli-core/agent.tsx, launch.tsx, markets.tsx, operations.tsxRetained operations tools
src/lib/qli-core/dbc.tsInvoked Meteora client/services, reads and transaction preparation
src/lib/qli-core/wallet.tsReviewed wallet signing and derivation-message verification
src/lib/qli-core/pq.tsHash-signature primitives, domains and public proof verification
src/lib/qli-core/identity.tsDerivation, Merkle tree, ledger, challenge and memo
src/lib/qli-core/quantum-wallet.tsWOTS vault model and fail-closed undeployed adapter
src/lib/qli/crypto.ts, vault.tsxStandard PQ workbench and local ML-DSA key provider
src/lib/qli/market.ts, src/components/qli/markets.tsxExplicit demo market adapter/public market UI
src/lib/qli/api.ts, src/routes/api/public/v1/$.tsBounded public crypto API and lazy handler boundary
src/start.ts, src/server.tsServer middleware and SSR error handling
src/lib/auth/First-party same-origin browser auth client and session-header middleware
src/integrations/supabase/Backend types, authorization and server-only integration support
src/styles.cssShared semantic theme, classic desktop and documentation styles
docs/, src/lib/qli/documentation.tsMarkdown single source and browser-safe documentation catalog
src/components/qli-core/docs.tsxSearchable first-party help reader
src/test/Routing, parity, wallet, proof, adapter and docs regressions

Contributor invariants

Never feed fabricated demo addresses to live signing. Initialize service clients inside invoked factories. Keep cryptographic secrets out of persistence, logs, APIs and utility output. Preserve versioned qtk1/domain/ledger encodings through branding changes. Do not enable custody merely by changing a null constant. Do not introduce a second router or edit the generated route tree.

Read root AGENTS.md before making structural changes. Documentation Markdown is bundled as text, not executed code; raw HTML is not rendered by the help reader.

docs/architecture.mdCurrent code · demo boundaries stated explicitly
31 topics · Developers29 / 31