Author

Topic: RuneBet.com Crash seeding event! (Read 179 times)

legendary
Activity: 2772
Merit: 3282
October 27, 2019, 12:37:12 AM
#2
Welcome to our seeding event for RuneBet.com launching in a few days. We are seeding it very similarly to my friend Stunna's setup!

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: 62c40c5fb567b29caa1b0cb04faad2c126d36a8856273bcc39495b9e560d1995

The formula for generating the game result:
Code:
const gameHash = hashChain.pop()

const hmac = createHmac('sha256', gameHash);

// blockHash is the hash of bitcoin block 601,201

hmac.update(blockHash);

const hex = hmac.digest('hex').substr(0, 8);
const int = parseInt(hex, 16);

const crashpoint = Math.max(1, (2 ** 32 / (int + 1)) * (1 - houseEdgePercentage / 100.0))

blockHash used is Bitcoin block 601,201 which has not been mined at time of posting. Current Bitcoin block is 601,188. 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.runebet.com/ very soon!

Block 601201 has a hash of 0000000000000000000aec2fe61dd7af9348bc82bd0a4fb030119d8cbd7143c4

archive.is archive.org
newbie
Activity: 1
Merit: 0
October 26, 2019, 07:18:33 PM
#1
Welcome to our seeding event for RuneBet.com launching in a few days. We are seeding it very similarly to my friend Stunna's setup!

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: 62c40c5fb567b29caa1b0cb04faad2c126d36a8856273bcc39495b9e560d1995

The formula for generating the game result:
Code:
const gameHash = hashChain.pop()

const hmac = createHmac('sha256', gameHash);

// blockHash is the hash of bitcoin block 601,201

hmac.update(blockHash);

const hex = hmac.digest('hex').substr(0, 8);
const int = parseInt(hex, 16);

const crashpoint = Math.max(1, (2 ** 32 / (int + 1)) * (1 - houseEdgePercentage / 100.0))

blockHash used is Bitcoin block 601,201 which has not been mined at time of posting. Current Bitcoin block is 601,188. 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.runebet.com/ very soon!
Jump to: