Logo Moneypot
Bet #34139588
General
User DarkwingDuck
App Bit-Exo
Kind Custom
Coin GRLC
Wager 10,000.00 garlicbits
Placed
Profits
User Profit -10,000.00 garlicbits
Investor Profit 9,975.0024545938 garlicbits
App Profit 24.9975454062 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.00%
Total Expected Value -9,999.01816249 garlicbits
Provably Fair
Client Seed 2638737278
Server Secret 1faaf8fca760a70ebcef0fca2ad423309621668f0cc03455a5f019b5e08c1208
Server Salt 0da3403fa89b27a2e452d69c4294a3b491be4399768ff589db0ddd4a4c2fa86a
Server Hash 78ae4e8dd7ba430d84f2719b7a3a4ac3a5c8f2263215c50deab53423e2b3ef33
Raw Outcome 439801012
Method SHA-256
Payouts
From To Value Probability Expected Value
4246648865 4294967295 880,000.00 garlicbits 1.1250% 9,900.00981838
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);