MoneyPot is closing.
Logo Moneypot
Bet #67146648
User fagot
App DiceBot
Kind Custom
Coin BTC
Wager 5.40 bits
User Profit -5.40 bits
Investor Profit 5.3869785865 bits
App Profit 0.0130214135 bits
MoneyPot Profit 0.0000000000 bits
House Edge 0.96%
Total Expected Value -5.20856539 bits
Provably Fair
Client Seed 775249262
Server Secret 50e1acad4d298d65a729948b3e0c1bf7afe0ef72a8795ee59f5f47f463c6c570
Server Salt d55c1f22c5e847b33c07b8927d6e12b1ad00ed5439622bb2f68eee6538da2806
Server Hash 4a3db2fb327d36a2828721c609f82e7788ed61b207473321c8e382dd4ed8b8b4
Raw Outcome 1558589450
Method SHA-256
From To Value Probability Expected Value
2419937318 4294967295 12.26 bits 43.6564% 5.35140686
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);