MoneyPot is closing.
Logo Moneypot
Bet #66490486
User guitarguy94
Kind Simple_dice
Wager 112,000,000.00 garlicbits
User Profit 112,000,000.00 garlicbits
Investor Profit -112,252,000.0021899939 garlicbits
App Profit 252,000.0021904700 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.90%
Total Expected Value -100,800,000.87619001 garlicbits
Provably Fair
Client Seed 3781705265
Server Secret a4436b838d3002928d6eff317fd1ff78d34e8c9186e8a0ae41c83a0b8056a1d3
Server Salt 00bda1017dcfa9c103b8b0249e70ffc625cb27718bc904cd654dc6f165e2a151
Server Hash 418faea07da82d168d065a0cbc6be03f8bbb3ba45f0e27b2bee62e538a347182
Raw Outcome 2460430548
Method SHA-256
From To Value Probability Expected Value
2166811001 4294967296 224,000,000.00 garlicbits 49.5500% 110,991,999.99123812
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);