NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #26339225
User aravirta8
App - New Weekly Prizes!
Kind Simple_dice
Wager 500,000.00 garlicbits
User Profit 500,000.00 garlicbits
Investor Profit -502,700.0000234700 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 800d9b8b8521f45b41e4fd854d7881383ffe05f38ee423b0a9fe594e77779800
Server Salt c484368401fb0cc3bcb184db811fd87243fbf4f8836a13a73596d57fa5442304
Server Hash b2051bb7ac4528127b79eeaaedbcf58c1eefbdeafcb08314aa34784b407b424c
Raw Outcome 2269430131
Method SHA-256
From To Value Probability Expected Value
2166811001 4294967296 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);