Logo Moneypot
Bet #63611531
General
User madao
App Bit-Exo
Kind Custom
Coin ETH
Wager 6.60 ethbits
Placed
Profits
User Profit 4.60 ethbits
Investor Profit -4.6166666669 ethbits
App Profit 0.0166666669 ethbits
MoneyPot Profit 0.0000000000 ethbits
House Edge 1.01%
Total Expected Value -6.66666675 ethbits
Provably Fair
Client Seed 936624994
Server Secret ce58ae16e40218f8951a0cdbe251cf481a69a3ac5bbf0708fb0470c164e1b60c
Server Salt 0abb531a489eaa0b06753940a90146d8c853072e5186954d81eacb65f8acc561
Server Hash bdd93eee7d4ff80b0236ad8bedbf09b93af73f7dc7a341b73343126961d406d2
Raw Outcome 2142739046
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2505397589 11.20 ethbits 58.3333% 6.53400000
2505397590 4294967295 0.00 ethbits 41.6667% 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);