Logo Moneypot
Bet #29494388
General
User TheBobHimself
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 18,000,000.00 garlicbits
Placed
Profits
User Profit -18,000,000.00 garlicbits
Investor Profit 17,901,720.0016609989 garlicbits
App Profit 65,519.9988925840 garlicbits
MoneyPot Profit 32,759.9994462920 garlicbits
House Edge 0.91%
Total Expected Value -16,379,999.72314600 garlicbits
Provably Fair
Client Seed 1460498788
Server Secret a005744a6c6c751bb3421372a33c0ed6418ff47fe56662e8f6cc72825f103b7f
Server Salt f56585d27a2c97f9f88f0b87f6c8b0e693e19eb5035494b2864090939c7520ec
Server Hash 402bd0b6ff7d7ba35f79a38d7491fc8da770d1dcf413f2453ad1617e8c8832df
Raw Outcome 3989743571
Method SHA-256
Payouts
From To Value Probability Expected Value
0 1288490189 59,454,000.00 garlicbits 30.0000% 17,836,200.00276854
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);