For developers

Competitive infrastructure your game can actually speak.

Authenticate players, stream telemetry and wallet balances, and power secure MPC-backed purchases through the MusterBox SDK — a Rust core with adapters for every major engine.

musterbox-sdk 1.0.0 · protocol 1.0 · FFI ABI 1.2.0 · config schema v1

MusterBox SDK

Connect a game to MusterBox in six steps

A cross-engine SDK that bridges a game to player identity, telemetry, real-time wallet streams and secure MPC-backed purchases. The backend stays authoritative — matches, competitive truth and financial state are never invented on the client.

  1. Project

    A game project with src, assets, game and config surfaces — ready to host an adapter.

  2. Install

    Pin the real crate or engine adapter: musterbox-sdk = "=1.0.0", the Godot addon, Unity UPM package, or the matching adapter for your engine.

  3. Configure

    musterbox init writes musterbox.toml with game_id, display_name and environment; musterbox validate confirms it.

  4. Connect

    Player identity, telemetry events and the wallet stream attach to the game loop.

  5. Run

    musterbox testkit exercises the integration; the game runs and events flow.

  6. Ready

    Certified and connected — the network reports MUSTERBOX CONNECTED.

Cargo.tomltoml
[dependencies]
musterbox-sdk = "=1.0.0"
musterbox.tomltoml
schema_version = 1

[game]
game_id = "my-game-001"
display_name = "My Game"
environment = "sandbox"
integration.rsrust
let sdk = MusterBoxSdk::initialize(validated)?;
sdk.start()?;
sdk.authenticate("player@example.com", "secret")?;
sdk.submit_event("game.session_start", b"{...}")?;
game.gdgdscript
MusterBox.initialize("res://musterbox.toml")
MusterBox.authenticate("player@example.com", "secret")

var event_id := MusterBox.submit_event("game.score", '{"score": 100}'.to_utf8_buffer())
MusterBox.start_wallet_stream(access_token)

What the SDK connects

Only the capabilities the real SDK ships are listed here. No API signatures are invented on this page — see the SDK documentation for the verified integration surface.

  • Player identity

    Authenticate players against the backend and carry their sessions into your title.

  • Telemetry events

    Push competitive events through the batched outbound pipeline with delivery acknowledgements.

  • Wallet stream

    Stream real-time wallet balances into the game loop instead of polling.

  • Secure purchase

    MPC-backed purchases with a native-owned PIN and secure modal for authorization.

  • Backend authority

    The backend stays authoritative: the SDK never signs or holds wallet private keys.

  • Sandbox balance

    Swappable environment in musterbox.toml for safe, non-production integration work.

One arena, every major engine

The SDK ships as an adapter for each engine while every adapter talks to the same Rust core over the same stable C ABI.

Certified per platform before production
  • Godot

    4.2+ via the musterbox addon (GDScript).

  • Unity

    2020.3+ via com.musterbox.sdk (UPM).

  • Unreal

    5.3+ via the MusterBox plugin.

  • Bevy

    0.19 via the musterbox-bevy crate.

  • Web

    ES2020+ via @musterbox/sdk-js.

  • Cocos & Defold

    Cocos 3.8 and Defold 1.6.5+ adapters.

From game to connected title

A command-first workflow — every step is a real musterbox CLI command that writes, checks, builds and certifies your integration.

  1. Init

    musterbox init writes musterbox.toml

  2. Validate

    musterbox validate checks the config

  3. Build

    musterbox build targets your engines

  4. Test

    musterbox testkit runs contract suites

  5. Certify

    musterbox certify reports readiness

  6. Launch

    ship with the network connected

Technical substance you can rely on

The developer experience is designed so an engineer can understand how the pieces fit before writing a line of code.

Built for production integrations
  • Rust core

    A single Rust workspace — core, config, client, transport, FFI and runtime — pinned at musterbox-sdk 1.0.0.

  • Stable C ABI

    FFI ABI 1.2.0 keeps engine adapters and platforms contractually stable.

  • Config schema v1

    musterbox.toml with schema_version pinning — written by musterbox init, checked by musterbox validate --strict.

  • Protocol 1.0

    A versioned wire protocol for identity, telemetry and wallet streaming.

  • Testkit & certification

    Contract suites and a certify command that reports per-platform readiness.

  • Sandbox environments

    A swappable environment field so integration work never touches production state.

Connect your game to the MusterBox network.

Player identity, telemetry, wallet streams and secure purchases — through an SDK your CI pipeline can verify.