NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #28246425
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 104cf3605b5741d2a8837c56d09e86b3cb605a8f4ab8808b294c4889e236957c
Server Salt e20e8f1de09c265b1347f5eb3bdfb0245c7b022bf7df2a4d25c39f6c9c126cfc
Server Hash fafeebd8e3aad8a4762b8b2000d785e5a483e6be48248424c609a1b2b668df05
Raw Outcome 3939896906
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);