// technical
Crash game source code in PHP
Crash game source code in PHP starts with picking your wallet model (single-currency, multi-currency, unified-USD), your provably-fair contract (HMAC-SHA256 with server seed + client seed + nonce, commit-reveal), and your integration model (single-API aggregator vs direct studio integrations).
// 01
The short answer
Crash game source code in PHP starts with picking your wallet model (single-currency, multi-currency, unified-USD), your provably-fair contract (HMAC-SHA256 with server seed + client seed + nonce, commit-reveal), and your integration model (single-API aggregator vs direct studio integrations).
// 02
The wallet model
Single-balance multi-currency is the modern default — players hold BTC/ETH/USDC/USDT/SOL in one wallet, you display in USD/EUR for UX, and bets settle in the original token. SoftBet ships this; it's what demo.softbet.io runs.
// 03
The provably-fair contract
Server generates random seed; SHA-256 hash committed to the player before the bet. Result computed as HMAC-SHA256(server_seed, client_seed:nonce). Server seed revealed on reveal; player recomputes offline and validates. The /verify.html page on softbet.io shows the full reference implementation.
// 04
The aggregator integration
Single-API integration to 150+ studios is the practical 2026 path. Direct studio integrations are useful for top 5 brands (Pragmatic, Hacksaw, Nolimit) for better economics; aggregator covers the long tail.
// 05
The deployment model
Containerised per-tenant deployment, isolated databases, regional failover, 99.99% uptime SLA. SoftBet runs on Proxmox + Caddy + Node + Postgres + Redis; every module is its own service.
// faq
Questions, answered
For sub-licensees we ship the operator console + admin tooling. The platform engine is closed-source; for enterprise customers we open targeted modules under NDA.
Node.js (server), vanilla JavaScript + lightweight React (UI). Game JSX is React 18 + Babel CDN.
softbet.io/verify.html — open-source HTML page with a working HMAC-SHA256 reference implementation.
Yes — custom games slot in via the Originals interface (provably-fair contract + multiplier + commit-reveal).
Soft 1,000 rps per tenant; hard 5,000 rps. Higher available on enterprise.
// related
Related guides
// also covered on this page
Secondary keywords this guide answers
Ready to start?
Tell us your idea on Telegram. We will scope and have you live in under two weeks.