Logo Moneypot
Bet #1246640347
General
User vuiltje
App Bit-Exo
Kind Custom
Coin BTC
Wager 24.22 bits
Placed
Profits
User Profit 24.70 bits
Investor Profit -24.7977331812 bits
App Profit 0.0977331812 bits
MoneyPot Profit 0.0488665906 bits
House Edge 1.01%
Total Expected Value -24.43329530 bits
Provably Fair
Client Seed 1370294514
Server Secret dbd4a76565d70b12b533cac845a347cf4d23d93536815a2e3e27999b954a8c08
Server Salt 6e39f490b2db9215649207bfc2debe682e9302c21246f5e0061b44056e94a426
Server Hash 7afc575b4e14164a943af21c6674fa0f718935947841b2a020a9b9bf5815168b
Raw Outcome 3923237758
Method SHA-256
Payouts
From To Value Probability Expected Value
2190006014 4294967295 48.92 bits 49.0099% 23.97782348
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);