NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #26339190
User aravirta8
App - New Weekly Prizes!
Kind Simple_dice
Wager 500,000.00 garlicbits
User Profit -500,000.00 garlicbits
Investor Profit 497,299.9999765300 garlicbits
App Profit 1,800.0000156462 garlicbits
MoneyPot Profit 900.0000078231 garlicbits
House Edge 0.90%
Total Expected Value -450,000.00391155 garlicbits
Provably Fair
Client Seed 1444875134
Server Secret ca9c16b123ac9d72a1d50badc2ce4d6e4d4da32fbad5f85288e641c9f453b3d4
Server Salt 32ed30cf768d9cdb68ccc27a7dca1143c84a07ad0b90fd7294c98f9a4389f2c0
Server Hash f32216ff1815de6fc5ec3a0bb541ad5e3ec1923798891f635e866099d52ea35a
Raw Outcome 3083687792
Method SHA-256
From To Value Probability Expected Value
0 2128156295 1,000,000.00 garlicbits 49.5500% 495,499.99996088
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);