RGS Architecture Explained: How Modern Casino Game Servers Work in 2026
A clear technical explanation of RGS architecture: what an RGS does, how transferred and seamless wallet models work, callback dedupe, and what it takes to build and certify your own.
RGS - Remote Game Server - is the single most misunderstood piece of casino architecture. This guide explains exactly what an RGS does, how it integrates with your platform, and what's involved in building your own.
What an RGS does
An RGS is a server that runs the math of a game, holds the random number generation, manages the state of every round, and exposes an API for placing bets, settling outcomes, and looking up history. Each provider runs their own RGS. Your platform talks to it.
For a player to spin a slot:
- Player clicks "Spin" in the game iframe.
- The game client calls the provider's RGS.
- The RGS calls your wallet API to debit the bet.
- The RGS computes the outcome (RNG + paytable math).
- The RGS calls your wallet API to credit the win.
- The RGS returns the result to the client, which animates the spin.
Your platform never touches the game math. The RGS is the source of truth.
Wallet integration models
Seamless wallet (modern default)
Every bet and every win is a real-time call to your wallet API. The provider's RGS holds no balance. This is the standard for crypto casinos because it keeps the entire balance on your books and supports instant cross-game movement.
Transferred wallet (legacy)
Player transfers a chunk of balance into the provider's wallet at session start, plays, and transfers back at session end. Used by some legacy operators and required by a few providers.
Hybrid
Some providers offer both. Always pick seamless if available.
Callback handling
The RGS calls your wallet API. That callback handler is the most security-sensitive code in your platform:
- Authentication - Provider-specific HMAC signatures or shared secrets.
- Idempotency - Every transaction has a unique ID. If the provider retries, your handler must return the same response without double-debiting.
- Atomicity - Wallet update and bet log entry committed in one database transaction. No partial state.
- Latency budget - Most providers expect a response in under 500ms or they retry.
- Failure modes - On internal errors, return a structured error code, not a 500. Providers handle defined error codes; they retry indiscriminately on 500s.
Building your own RGS
Building your own RGS is what powers in-house originals like crash, mines, and plinko. The components:
- RNG - Cryptographically secure (HMAC-SHA256 commit-reveal) for provably fair, or certified PRNG (Mersenne Twister with audited seeding) for traditional games.
- Math engine - Game-specific paytable evaluation. For a slot, this means reel strips, paylines, bonus features. For crash, the multiplier function. For plinko, the bucket distribution.
- Round state - Persistent record of every round: seed, bet, outcome, payout, timestamps.
- Wallet client - Your RGS calls your platform's wallet API the same way an external provider would.
- Frontend - Game client (Canvas/WebGL) that subscribes to round events and animates outcomes.
Certification
Most jurisdictions require independent certification of game math:
- iTech Labs, GLI, BMM Testlabs, eCOGRA - Audit RNG, RTP claims, and game logic.
- Curaçao - Certification required at license renewal.
- MGA, UKGC - Pre-approval certification before any game can launch.
- Cost - $3K–$15K per game depending on complexity. Crash typically $5K–$8K.
FAQ
Do I need to build my own RGS?
Not for third-party content - every provider runs theirs. But for in-house originals (crash, mines, plinko, dice), yes. That's where you get differentiated content with no provider fees.
Can I run my RGS on the same servers as my platform?
Yes for in-house originals. Some operators isolate the RGS in a separate process or container for security and certification scope reasons.
How long does RGS development take?
2–6 weeks per game depending on complexity. Crash and dice are fast (2 weeks each). Slot RGS with bonus features and free spins takes 6–10 weeks.
Talk to us about building in-house originals on your own RGS.