Logo Moneypot
Bet #61653767
General
User tripleseven
App Bit-Exo
Kind Custom
Coin BTC
Wager 1.46 bits
Placed
Profits
User Profit -1.46 bits
Investor Profit 1.4563503613 bits
App Profit 0.0036496387 bits
MoneyPot Profit 0.0000000000 bits
House Edge 1.00%
Total Expected Value -1.45985550 bits
Provably Fair
Client Seed 2646964326
Server Secret 150728567d3ff1ae9b4fb9e368d869fa1e1a5bdbfcd77fa4421842588cb62303
Server Salt 99c25bfea70be1e94135a28beaf8fa1212389a5fca6f2968bd7bd07f75a4e8ec
Server Hash 40a9c0dec6645ea0981ed6326397ff753855cb84cea07a139160d9368f9819a4
Raw Outcome 3382964598
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 2.92 bits 49.5000% 1.44540145
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);