NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #28246424
User coolhandluke
App Bit-Exo
Kind Custom
Wager 10,000.00 garlicbits
User Profit -10,000.00 garlicbits
Investor Profit 9,939.9987986170 garlicbits
App Profit 40.0008009220 garlicbits
MoneyPot Profit 20.0004004610 garlicbits
House Edge 1.00%
Total Expected Value -10,000.20023050 garlicbits
Provably Fair
Client Seed 3881810221
Server Secret da0526116bdc62b81a2c6baf475982584784e818ea15b6dd3a3183b5fba302c6
Server Salt 6c46459f0415ee346d947332d14c29ee3d6ca7d2ef4da05b06e753e2c96daf5e
Server Hash 510a29d7a62e872f02400d84cd65cc8acdac3b9e56a404f3a7e1304251d6aacc
Raw Outcome 2958669395
Method SHA-256
From To Value Probability Expected Value
0 858993459 49,500.00 garlicbits 20.0000% 9,899.99999769
858993460 4294967295 0.00 garlicbits 80.0000% 0.00000000
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.

$outcome = intval(substr(hash('sha256', $serverSeed . $clientSeed), 0, 8), 16);

Javascript (cryptocoinjs / sha256)

var output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);