NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #28246419
User 795fe3
App Bit-Exo
Kind Custom
Wager 2,000,000.00 garlicbits
User Profit 2,000,000.00 garlicbits
Investor Profit -2,011,998.8122955000 garlicbits
App Profit 7,999.2081969976 garlicbits
MoneyPot Profit 3,999.6040984988 garlicbits
House Edge 1.00%
Total Expected Value -1,999,802.04924940 garlicbits
Provably Fair
Client Seed 1980582829
Server Secret c81dc851f9c0bc24f88ae97ffda85e45317c24871830dc4913db78e475a80145
Server Salt b638cfe4f18642032d2173ef5b03b2aebd927edc43108085b1e4df179d0f1e69
Server Hash 2f5b2364810452f8c771fda05316bdc932b6cfc753b8e4e1a26753c493f5b3ee
Raw Outcome 3998877468
Method SHA-256
From To Value Probability Expected Value
2168956358 4294967295 4,000,000.00 garlicbits 49.5000% 1,980,001.97950751
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);