Welcome to our seeding event for Frostbets.com launching in a few days.
To prove our fairness we have generated a chain of 9,000,000 SHA256 hashes where each hash is the hash of the hexadecimal representation of the previous hash. The last hash in the chain is: 2d8a0bf071aa2b8d642df87231a3d5e4b4351d2eebe24aa28ee0fea4cfaac559, which is going to be the seed for the first game
The formula for generating the game result:
Code:
const gameResult = function(seed, salt) {
const hmac = crypto.createHmac("sha256", salt.toString())
const nBits = 52 // number of most significant bits to use
hmac.update(seed)
seed = hmac.digest("hex")
seed = seed.slice(0, nBits/4)
const r = parseInt(seed, 16)
let X = r / Math.pow(2, nBits)
X = 99 / (1 - X)
const result = Math.floor(X)
return Math.max(1, result / 100)
}
blockHash used is Bitcoin block 643133 which has not been mined at time of posting.
Current Bitcoin block is 643113. Basically we are using the hash of a future bitcoin block as a client seed so players can be certain that we did not pick one in the house's favor.
Excited to show you all Crash on
https://www.frostbets.com/ very soon!