可证公平
每一局 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.