Logo Moneypot
Bet #63611529
General
User madao
App Bit-Exo
Kind Custom
Coin ETH
Wager 11.20 ethbits
Placed
Profits
User Profit -11.20 ethbits
Investor Profit 11.1718354028 ethbits
App Profit 0.0293074543 ethbits
MoneyPot Profit 0.0000000000 ethbits
House Edge 1.05%
Total Expected Value -11.72298172 ethbits
Provably Fair
Client Seed 936624994
Server Secret daea70121e9208b8b198953150354f62e926affd559291ba073404cd5135d221
Server Salt 0547c57f435815bbeeaf3b77fa6ec97c93553f2502f9d3fb0f1dc9076984907f
Server Hash 72946852f426eeb7a22a50911fc1d9c27564492b30ce542503ed6e2da90a568f
Raw Outcome 3019601170
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2427590210 19.62 ethbits 56.5217% 11.08913142
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.

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);