Logo Moneypot
Bet #58591897
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 105.00 garlicbits
Placed
Profits
User Profit -105.00 garlicbits
Investor Profit 104.7721499967 garlicbits
App Profit 0.2278500033 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.87%
Total Expected Value -91.14000132 garlicbits
Provably Fair
Client Seed 2069693652
Server Secret 60f3217e862b02439c696ed52ce0cfdf2cf42c9d339c0f1723b81e119940b1f3
Server Salt a0223179cb12059b7a87a8860a0ab327c38b5af4931b59fc85ad2502bf424a2d
Server Hash 0465007bb1e25b9c5d894c148929830358515b2d54d8d7fbfc332e39e2d989b9
Raw Outcome 667746896
Method SHA-256
Payouts
From To Value Probability Expected Value
1460288881 4294967296 157.71 garlicbits 66.0000% 104.08859999
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);