Logo Moneypot
Bet #58592557
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 127.05 garlicbits
Placed
Profits
User Profit 63.77 garlicbits
Investor Profit -64.0472000040 garlicbits
App Profit 0.2772000040 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.87%
Total Expected Value -110.88000160 garlicbits
Provably Fair
Client Seed 2069693652
Server Secret 1604c3e8fc893f8c03ffb7c842300efcee2db9c3c603adce7d296b46e0055fb6
Server Salt 9cbf147d4e393eb88872aa5feafb104ffaf0c9558ec2008745f2722e704f8c37
Server Hash b4194ca58aeb9c83d7be26e0bc6d15bf0762641a054f24829e8836f9de579f97
Raw Outcome 3547689378
Method SHA-256
Payouts
From To Value Probability Expected Value
1460288881 4294967296 190.82 garlicbits 66.0000% 125.94119998
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);