Logo Moneypot
Bet #63611530
User madao
App Bit-Exo
Kind Custom
Coin ETH
Wager 4.00 ethbits
User Profit 2.60 ethbits
Investor Profit -2.6100000002 ethbits
App Profit 0.0100000002 ethbits
MoneyPot Profit 0.0000000000 ethbits
House Edge 1.00%
Total Expected Value -4.00000009 ethbits
Provably Fair
Client Seed 936624994
Server Secret e7b405e81eb1875a4568738884875a01580a0397cb21743661d99175ed54b155
Server Salt 18f84a716715a4744476f32fa81936a2fc19bfb4baa8eb07216fa9183c048730
Server Hash 06b273e084485e8c63689fd167dffce2a19e90278b2b895816a4eb1eabc4ab0c
Raw Outcome 1441986829
Method SHA-256
From To Value Probability Expected Value
0 2576980377 6.60 ethbits 60.0000% 3.96000000
2576980378 4294967295 0.00 ethbits 40.0000% 0.00000000
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);