Logo Moneypot
Bet #58591893
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 100.00 garlicbits
Placed
Profits
User Profit -100.00 garlicbits
Investor Profit 99.7829999969 garlicbits
App Profit 0.2170000031 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.87%
Total Expected Value -86.80000126 garlicbits
Provably Fair
Client Seed 2069693652
Server Secret 0f5af8276fc1cb78db28cb6c06e8af76115b0ad430d02220b6b4697423ef1c32
Server Salt f5ac0825504fad5117f9863c1be17a57d8aa341e5ab5867f811282bc9a843557
Server Hash 847cf25c62b3ff53f6a4134886c68bf7bb8fb3c57dbbf2b5ee9c73a57fa499ed
Raw Outcome 432105953
Method SHA-256
Payouts
From To Value Probability Expected Value
1460288881 4294967296 150.20 garlicbits 66.0000% 99.13199999
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);