MoneyPot is closing.
Logo Moneypot
Bet #66490448
User guitarguy94
Kind Simple_dice
Wager 1,000,000.00 flashbits
User Profit -1,000,000.00 flashbits
Investor Profit 997,749.9999804400 flashbits
App Profit 2,250.0000195578 flashbits
MoneyPot Profit 0.0000000000 flashbits
House Edge 0.90%
Total Expected Value -900,000.00782311 flashbits
Provably Fair
Client Seed 424014536
Server Secret b7d5217eb2391e64c38292f723ffe01782d5a9470acf677180ee4de4739a38fd
Server Salt 9432d33eff78698aad883122ca234742f6bf1328e88a7f8c70f63ec134125706
Server Hash 6a375eaec2786ecd53d77db1affb26fd94936e14223da2b5debd0863fd4beba9
Raw Outcome 3093108776
Method SHA-256
From To Value Probability Expected Value
0 2128156295 2,000,000.00 flashbits 49.5500% 990,999.99992177
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);