Afri Crash Engine (ACE)
A production-grade, multi-tenant crash game engine built from the ground up for African betting platforms.
Architecture Overview
Client SDK
TypeScript / JavaScript
API Gateway
REST + WebSocket
Game Engine
Round lifecycle, ticks
Fairness Module
SHA-256 hash chain
Data Layer
PostgreSQL + Redis
Core Features
Real-Time Game Engine
WebSocket-powered engine delivers live multiplier ticks every 100ms. Players experience zero-lag gameplay with instant cashout confirmation.
SDK Integration
TypeScript SDK handles authentication, wallet operations, and game state. Integrate crash games into any platform with minimal code.
Multi-Game System
Run multiple crash game variants simultaneously. Each game has independent configuration for growth rate, max multiplier, and tick speed.
Provably Fair
SHA-256 hash chain with server/client seeds. Players can verify every round's outcome independently. Full transparency, zero trust required.
Multi-Tenant Architecture
Each operator gets isolated data, custom branding, independent RTP configuration, and scoped analytics. One engine, many platforms.
Admin Dashboard
Full-featured admin panel with real-time analytics, GGR tracking, risk detection, player management, and audit logging.
Technical Highlights
Runtime
Node.js 20+ / TypeScript
Framework
Fastify
Real-time
ws (WebSocket)
Database
PostgreSQL 16 (Drizzle ORM)
Cache/PubSub
Redis 7
Auth
JWT + API Key