Logo Moneypot
Bet #58591525
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 3.67 garlicbits
Placed
Profits
User Profit -3.67 garlicbits
Investor Profit 3.6614999998 garlicbits
App Profit 0.0085000002 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.93%
Total Expected Value -3.40000008 garlicbits
Provably Fair
Client Seed 397345912
Server Secret d668d4f7fea3afb80fc81c7043135fa485d79101a96204bf470f4144e0e9f9f4
Server Salt f1a46da63dcd87795b8f09475ad569a3a0bdedd4f2ba3db884421b7729d64641
Server Hash ec11e454943d6b835e77b04c811c443e93b83e28000e9c029887d0f57e740c4e
Raw Outcome 3436277914
Method SHA-256
Payouts
From To Value Probability Expected Value
0 1717986918 9.09 garlicbits 40.0000% 3.63600000
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);