Logo Moneypot
Bet #5519416
General
User Bitcoinerg27
App Bit-Exo
Kind Custom
Coin BTC
Wager 0.06 bits
Placed
Profits
User Profit 0.00 bits
Investor Profit -0.0012845567 bits
App Profit 0.0012845567 bits
MoneyPot Profit 0.0006422784 bits
House Edge 5.35%
Total Expected Value -0.32113918 bits
Provably Fair
Client Seed 113372923
Server Secret 1137eb2d9e166d08843ab55ab5afefdf1d09137137b17a16fcaf7138f46408b4
Server Salt 3d347c1751d982b0ebd6848322692d6506f1f7fb491cece840d88482c8ce5474
Server Hash 28a1c25b204f5d77d677fd947effe731a6792e7a225212358c8fae66e903250e
Raw Outcome 3760806874
Method SHA-256
Payouts
From To Value Probability Expected Value
0 65536 7.26 bits 0.0015% 0.00011078
65537 1114113 2.82 bits 0.0244% 0.00068848
1114114 8978434 0.78 bits 0.1831% 0.00142822
8978435 45678595 0.30 bits 0.8545% 0.00256348
45678596 164954116 0.18 bits 2.7771% 0.00496545
164954117 451215365 0.08 bits 6.6650% 0.00559863
451215366 976027654 0.06 bits 12.2192% 0.00733154
976027655 1725759495 0.03 bits 17.4561% 0.00523682
1725759496 2569207816 0.02 bits 19.6381% 0.00353485
2569207817 3318939657 0.03 bits 17.4561% 0.00523682
3318939658 3843751946 0.06 bits 12.2192% 0.00733154
3843751947 4130013195 0.08 bits 6.6650% 0.00559863
4130013196 4249288716 0.18 bits 2.7771% 0.00498212
4249288717 4285988877 0.30 bits 0.8545% 0.00256348
4285988878 4293853198 0.78 bits 0.1831% 0.00142822
4293853199 4294901775 2.82 bits 0.0244% 0.00068848
4294901776 4294967296 7.26 bits 0.0015% 0.00011075
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);