Logo Moneypot
Bet #61584572
General
User Anubis
App Bit-Exo
Kind Custom
Coin DASH
Wager 1.28 dashbits
Placed
Profits
User Profit -1.28 dashbits
Investor Profit 1.2768003167 dashbits
App Profit 0.0031996833 dashbits
MoneyPot Profit 0.0000000000 dashbits
House Edge 1.00%
Total Expected Value -1.27987331 dashbits
Provably Fair
Client Seed 970594117
Server Secret d0945fce8e1eb10141d2c53fea1cdf1f9d951dff9f72d2256a7f500116ce84c8
Server Salt 1fbc0dc826a89605e2ef16f96cbbe1aadc31b992f1d495d5d5b3033905506f77
Server Hash acca4027b0f86df814bc608af23ea7e74ee7c64db721138efb0be471cbee8ea7
Raw Outcome 3062400081
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 2.56 dashbits 49.5000% 1.26720127
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);