Logo Moneypot
Bet #61653762
General
User tripleseven
App Bit-Exo
Kind Custom
Coin BTC
Wager 1.22 bits
Placed
Profits
User Profit -1.22 bits
Investor Profit 1.2169503019 bits
App Profit 0.0030496981 bits
MoneyPot Profit 0.0000000000 bits
House Edge 1.00%
Total Expected Value -1.21987925 bits
Provably Fair
Client Seed 4197400463
Server Secret 2e79195f5a0ce229018fb17ac4e1a313ce2048e3936e454e60f22a1d97536b59
Server Salt e7f473e9cd09bd530e135f9c30232d634b84150a6192234597c0aa8b32e6778d
Server Hash f356d4bdbfa811375846f29958c2f561da46e3e13718e310f02169da199773ae
Raw Outcome 3474493586
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 2.44 bits 49.5000% 1.20780121
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);