NOTICE: Flashcoin is now live on MoneyPot for wallet and gaming.
Logo Moneypot
Bet #26339212
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 1334767536f252f2e6d02dbd4884b3df5a17f3542124803bb74b905037605f24
Server Salt 502af739ce64100060822bf1234402acac0cbbb0af476e84021a562900849de9
Server Hash d95cc2556bbdcb17f89df93dab4c58ee705b5c03082b107ede59c4d3a4f9772f
Raw Outcome 1243136264
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);