For operators
Integrate our games
Infra Games titles are own-hosted HTML5 bundles. Integration is one versioned launch URL in a sandboxed iframe, speaking a small postMessage contract — the same contract this site uses.
Overview
Load the static bundle, open its versioned launch URL in a sandboxed iframe, and exchange a handful of postMessage events. The iframe is the isolation boundary (see ADR 0001): origin-locked messaging, a strict sandbox attribute set, and no shared game code on the host page.
Launch URL
A versioned, immutable path plus four query params. Example:
https://infra-games-play.pages.dev/games/moonies-alter-ego/0.1.0/index.html?gameId=moonies-alter-ego&mode=demo&lang=en¤cy=FUN
| gameId | permanent kebab-case game id |
|---|---|
| mode | 'demo' (v1 — the only mode) |
| lang | BCP-47 language (defaults to 'en') |
| currency | 'FUN' — the fictional demo currency |
These parameter names are reserved and must never be repurposed: sessionID, device, rgs_url, sessionToken, operatorId, realCurrency.
postMessage
Every message is wrapped in a versioned envelope (protocol: infra-games-embed, v: 1) and validated on receipt. The host acknowledges within 10 seconds of GAME_READY.
| Type | Direction | Meaning |
|---|---|---|
| GAME_READY | game → host | the bundle has booted and is ready to display |
| GAME_RESIZE | game → host | requests a host iframe resize (bounded aspect ratio) |
| EXIT_GAME | game → host | the player asked to leave; the host navigates away |
| HOST_ACK | host → game | the host acknowledges GAME_READY (origin-locked) |
Wallet adapter
For real-money operator integrations, a future Infra RGS will expose a seamless-wallet adapter — balance, bet, win and rollback operations — with RSA-SHA256 request signing and transaction_uuid idempotency. This is on the roadmap; it is not available today, and this site is demo play only.
Roadmap
We will pursue independent lab certification for our titles, then offer direct operator integrations through our own Infra RGS, and reach wider distribution through aggregators. Stake Engine will be supported only as an optional export channel. Everything here is future-tense — no certifications or licenses are claimed today.
Contact
Want the full integration pack or a conversation? Email hello@infra.games.