Logo Moneypot
Bet #63611542
User madao
App Bit-Exo
Kind Custom
Coin ETH
Wager 19.60 ethbits
User Profit -19.60 ethbits
Investor Profit 19.5524782593 ethbits
App Profit 0.0495217407 ethbits
MoneyPot Profit 0.0000000000 ethbits
House Edge 1.01%
Total Expected Value -19.80869628 ethbits
Provably Fair
Client Seed 936624994
Server Secret a1a5b35a3452a0c72fd77e56b1b580ad72c74e35547b43325edc81171513db67
Server Salt 8ca682fc1ff5dbb2ae01d2c1bffc5ec3c7a655efdbbe3fdd8c8ad741a23d1c85
Server Hash 15a44ef7fbd226551ae7e57e6b1b30e25479b6abd176ebe6fc2f991e373d7c07
Raw Outcome 3945713509
Method SHA-256
From To Value Probability Expected Value
0 2427590210 34.33 ethbits 56.5217% 19.40597999
2427590211 4294967295 0.00 ethbits 43.4783% 0.00000000
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.

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

Javascript (cryptocoinjs / sha256)

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