可證公平
每一局 BC 自研遊戲的結果,都可以用伺服器端種子、用戶端種子和 nonce 自行驗證。選擇遊戲,查看它的結果是怎麼算出來的。
CrashX
去驗證Is The Game Fair?
Every CrashX round has a pre-generated SHA256 hash. The hashes form a chain and are released in reverse order, each corresponding to one round of the game. The SHA256 of a round's hash equals the hash of the previous round, so the results cannot be changed once the chain is published.
The crash point of a round is calculated from its hash and a salt. The salt is the hash of a Bitcoin block that had not been mined when the chain was published. The chain and its salt are replaced from time to time, and the verification page shows the salt it uses.
How Are the Results Calculated?
- h = HMAC_SHA256 with the round's hash (decoded from hexadecimal into bytes) as the message and the salt as the key.
- Take the first 13 hexadecimal characters of h (52 bits) as an integer r.
- Exact crash point C = 2^52 / (2^52 - r).
- Crash time crashAt = floor(ln(C) / 0.00006) milliseconds after the round starts.
- Result = floor(e^(0.00006 × crashAt) × 100) / 100, the multiplier the curve reached at that millisecond.