Logo Moneypot
Bet #3581877
General
User ttt222
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.04 litebits
Placed
Profits
User Profit -0.04 litebits
Investor Profit 0.0393663514 litebits
App Profit 0.0006336486 litebits
MoneyPot Profit 0.0003168243 litebits
House Edge 3.96%
Total Expected Value -0.15841216 litebits
Provably Fair
Client Seed 3210057950
Server Secret ffe2fabec0f1ae9c5871c264f56a02f9f3bd4b4e4eec3cfc8f59276513703453
Server Salt 1504e647480ab9e83a474436fd68ce9e56620c96e96d5e268b427270dedb3c79
Server Hash ce3f7ce723bfcf44f3b7c123451ed49191e78b2f15c916bba2727adbad36a26e
Raw Outcome 3213977338
Method SHA-256
Payouts
From To Value Probability Expected Value
3263748911 4294967295 0.16 litebits 24.0099% 0.03959981
Provably Fair Outcome

MoneyPot uses a Provably Fair algorithm that calculates raw outcomes from generated SHA-256 hashes. The Bet Hash is generated from the resulting hash of two unique hashes, the Server Seed and the Server Salt. The Server Seed and the Server Salt are both unique 64 character strings.

The Raw Outcome is based on a combination of the Server Seed and the Client Seed. After both are hashed together with SHA-256, we trim the resulting hash of the two to the first eight characters and then converted to an integer using Base16.

PHP 7
$outcome = intval(substr(hash('sha256', $serverSeed . $clientSeed), 0, 8), 16);

Javascript (cryptocoinjs / sha256)

var output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);