MoneyPot is closing.
Logo Moneypot
Bet #66490457
User guitarguy94
Kind Simple_dice
Wager 10,000,000.00 garlicbits
User Profit -10,000,000.00 garlicbits
Investor Profit 9,977,499.9998043999 garlicbits
App Profit 22,500.0001955780 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 0.90%
Total Expected Value -9,000,000.07823110 garlicbits
Provably Fair
Client Seed 101033086
Server Secret 5b3871c1a9e9a2191053eca5078c5bac012770f4981a0009bd3930d92c6ad784
Server Salt 740592a3718da18fabcbf835cb7206f14a957137fa723f75d026038a158b9eab
Server Hash 5fdceb299f8770432807788eac48a431aa10942cd0807747f71ad80626e46f0e
Raw Outcome 2334677331
Method SHA-256
From To Value Probability Expected Value
0 2128156295 20,000,000.00 garlicbits 49.5500% 9,909,999.99921769
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);