Logo Moneypot
Bet #58592442
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 115.50 garlicbits
Placed
Profits
User Profit 57.98 garlicbits
Investor Profit -58.2308000036 garlicbits
App Profit 0.2508000036 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.87%
Total Expected Value -100.32000145 garlicbits
Provably Fair
Client Seed 2069693652
Server Secret d322675c0da9cb052ab5ecb0bda3fc3335bd83cb6d3003c1623fa8397c7c6dcf
Server Salt 7f8d069e94634ed354806844923fc16655496a53ae0d41be0205b9bc57710711
Server Hash e00d1f824dca08d1302ab9d233d9f969bc28abbfd781231b3ca912790966759c
Raw Outcome 1290705789
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2834678415 173.48 garlicbits 66.0000% 114.49679999
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);