Logo Moneypot
Bet #58591529
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 3.85 garlicbits
Placed
Profits
User Profit 5.69 garlicbits
Investor Profit -5.6985000002 garlicbits
App Profit 0.0085000002 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.88%
Total Expected Value -3.40000009 garlicbits
Provably Fair
Client Seed 397345912
Server Secret 9cc4d61779756f47f33038716f9c4021c1fd15c2b939a7f800686437f2661a48
Server Salt df2702987567167f72d65eb9547e5f4015d6c4d2e6b0dabb3e654cda94f8fba5
Server Hash 5158a4d81d09dc37bae581d2e773d77e3bdff1fd4c5a01a7164efab75d7a2a28
Raw Outcome 180336971
Method SHA-256
Payouts
From To Value Probability Expected Value
0 1717986918 9.54 garlicbits 40.0000% 3.81600000
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);