Logo Moneypot
Bet #1246640346
General
User vuiltje
App Bit-Exo
Kind Custom
Coin BTC
Wager 12.11 bits
Placed
Profits
User Profit -12.11 bits
Investor Profit 12.0611334094 bits
App Profit 0.0488665906 bits
MoneyPot Profit 0.0244332953 bits
House Edge 1.01%
Total Expected Value -12.21664765 bits
Provably Fair
Client Seed 154753998
Server Secret bf1451d6ec6088f7cd92943567e7b0c82102632fae3b7bddb22926886abfd2b7
Server Salt c254de67a9d5940ea3f19846205558aa8693788c08587c712573b7723fbb7bb9
Server Hash fa2c71ade875a69791b2daeb7451cef1c47ede4455916ad496c3abb2f575d052
Raw Outcome 758650749
Method SHA-256
Payouts
From To Value Probability Expected Value
2190006014 4294967295 24.46 bits 49.0099% 11.98891174
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);