
The pieces
MusterBox SDK (native, Rust core)
A single Rust core library that is packaged for every supported engine and platform. Version 1.0.0. The SDK provides:- configuration with profile files and validation,
- session lifecycle:
initialize→start→authenticate→ submit events, - background event flushing with offline buffering,
- a realtime event plane with session, wallet, and status events,
- a secure purchase client with environment-integrity pre-flight,
- diagnostics and health reporting.
Web SDK (@musterbox/sdk-js + @musterbox/sdk-wasm)
A browser build of the core compiled to WebAssembly. API is camelCase and
mirrors the native surface: createMusterBox, authenticate, refreshToken,
logout, submitEvent, tick, pollEvents, getStatus, getDiagnostics,
and per-instance lifecycle management.
Public API
The wire contract the SDK drives. See the API reference.Environments
The base URL selects the environment:
Credentials (game keys) are scoped to a game and an environment, and are
origin-locked where applicable.

