0x developer documentation
0x developer docs
Build, publish and sell games on 0x
The player swarm delivers your files. Your game gets accounts, lobbies, leaderboards and payments from one API. Publish from the command line or the browser.
Getting startedWhat 0x gives a game developer, how a game gets from your folder to players, and where each part is documented.6 pages0x CLIInstall @0xlimo/cli, the 0x command line for web games (init, dev, publish, deploy-server, submit, issues, source check), and how it finds its registry and credentials.4 pagesJavaScript SDKPartly liveThe @0xlimo/* npm packages for web games on 0x, with their versions, status and purpose, and how to install them from the 0x registry.19 pagesREST APIThe 0x platform API at https://api.0x.limo/v1 — base URL, auth, content types, idempotency, versioning and a map of every area.35 pagesStore pageWhat players see on your game's 0x store page, and every field, image, rating and badge you control.7 pagesP2P and the swarmHow 0x serves a hosted game's files from the player swarm, with your site's origin as the web seed and the fallback.6 pagesSecurityHow 0x isolates hosted games from each other and from the platform, and what each layer means for your code.8 pagesMonetizationPartly liveHow games earn on 0x — paid games, in-game purchases, subscriptions, the player's 0x balance and USDT payouts — and which parts are switched on today.6 pages0xpakPartly live0xpak is 0x's cooked asset pack, one signed, content-addressed, range-readable file for a game's assets that the player swarm delivers. Overview, status and the full reference.1 pageSteamworks compatibilityPartly liveHow games built with the Steamworks SDK run on 0x unmodified through sg-steamclient, a drop-in steamclient library backed by the 0x platform.5 pagesNative runtimeComingThe 0x native runtime runs games compiled to WebAssembly in a sandbox, with direct GPU access through wgpu (Vulkan, DX12, Metal, GL), hardware ray queries and mesh shaders.7 pagesScriptingPartly liveTypeScript scripting with @x1/script — one scripting API for OG worlds, native runtime games and hosted web games, in a sandboxed VM on every 0x host. Creators publish packages into OG Earth today.10 pagesReferenceLimits, error codes, versioning, the changelog, FAQ and glossary for the whole 0x developer surface.7 pages
#Popular pages
- 0x command reference: every command and flag of
@0xlimo/cli. - 0x.config.json: build settings, swarm assets and your site's
cspdeclaration. - Authentication: access tokens, OAuth sign-in, publish tokens and game-server sessions.
- Hosting limits: quota, file sizes and sites.
- Content-Security-Policy: what your hosted pages may load, and how reports reach you.
- Limits and quotas: every limit in one place.
