Logo Moneypot
Bet #58592448
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 30aa4548cc004a9f3a991ebd2ff4de54a1895ab3c8c98bf1af256d48db628052
Server Salt ca62dc328bc500fd21dd49e9effc236a17c9729c66511b18bcc7517b52307cf0
Server Hash 657298fd9765c1c620316ebfe4f61996a718fcfff5e5774de5c16e9f346950e3
Raw Outcome 494573017
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2834678415 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);