NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #26339164
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 163d79f998d245011edd6793ef629a889b9ddef5222cef34aba1648288b1cce4
Server Salt 2d5f019964391c2199453641dce013a87d3002048b5c9a43908ae7ebd4b5a1c2
Server Hash 7636a4097b8a744647452149ae0510e2cae63f320744691efc277a0c97a76c6b
Raw Outcome 3072430579
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);