Logo Moneypot
Bet #63611528
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 24e2ddc50d743c6c1b020b42d07450f29237a6895a4262bc1aaaeddd450d1f19
Server Salt 9bb5c2649f1161e96723b0a071e1af8583b426a220b58bd61b3875efb0f688f2
Server Hash 6d88b6dc1ed06f41a96e0052d5a4afec72bf37b4aa4b64c47ba7d096af31829d
Raw Outcome 2036152079
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);