Astro Dash uses cryptographic methods to ensure that every outcome is fair, transparent, and verifiable.
Each run’s crash point is determined before the run begins using a provably fair algorithm.
Server Seed
A randomly generated 256-bit value created by the server. It remains secret until the run ends.
Client Seed
A randomly generated 128-bit value assigned to each player.
Nonce
A sequential counter that increases with each run.
Server Seed Hash
A SHA-256 hash of the server seed, made public before the run starts to guarantee integrity.
// Step 1: Generate HMAC-SHA256 hash
const hash =HMAC-SHA256(serverSeed,`${clientSeed}:${nonce}`)
// Step 2: Extract the first 8 hexadecimal characters
const hexValue = hash.substring(0,8)
// Step 3: Convert hex to integer
const intValue =parseInt(hexValue,16)
// Step 4: Normalize to a 0–1 range
const u = (intValue +1) / (0xFFFFFFFF +1)
// Step 5: Calculate the crash multiplier
const crashMultiplier =min((1 -0.03) / u,25.00)
// Result: Crash point rounded to 2 decimal places