Logo Moneypot
Bet #29493944
General
User TheBobHimself
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 5,000,000.00 garlicbits
Placed
Profits
User Profit 11,515,000.00 garlicbits
Investor Profit -11,542,299.9995390009 garlicbits
App Profit 18,199.9996923840 garlicbits
MoneyPot Profit 9,099.9998461921 garlicbits
House Edge 0.91%
Total Expected Value -4,549,999.92309610 garlicbits
Provably Fair
Client Seed 3197054914
Server Secret e33600cb0dd5f482b84f4f90e09fc072c9593d3636c81e72224a055cb5aa1440
Server Salt b6c182795a4d0dd64892de5c4c0bee4e6f817bcecd274b442ffeefa36fa3b258
Server Hash fc12d88b4fc6a93671abf69cbdb17dddf062ab4ca9ba8a17bdb66bfc792ce7a7
Raw Outcome 4171632290
Method SHA-256
Payouts
From To Value Probability Expected Value
3006477107 4294967296 16,515,000.00 garlicbits 30.0000% 4,954,500.00076904
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);