Logo Moneypot
Bet #58592561
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 139.76 garlicbits
Placed
Profits
User Profit 70.15 garlicbits
Investor Profit -70.4548500044 garlicbits
App Profit 0.3048500044 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.87%
Total Expected Value -121.94000176 garlicbits
Provably Fair
Client Seed 2069693652
Server Secret 80789115711839916fd196858d60eb4dff29c09ddf8a333088ed481921752545
Server Salt 52276b47648a196c3f35062c31eca52f3317f3436965638bb5b63f1ef67d1d03
Server Hash 10bb84b09f624750912ef3eb9df6f0b7a422934811866da1b3bcb47e9a9ba701
Raw Outcome 3543598823
Method SHA-256
Payouts
From To Value Probability Expected Value
1460288881 4294967296 209.91 garlicbits 66.0000% 138.54059998
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);