Logo Moneypot
Bet #63611541
User madao
App Bit-Exo
Kind Custom
Coin ETH
Wager 11.55 ethbits
User Profit 8.05 ethbits
Investor Profit -8.0791666670 ethbits
App Profit 0.0291666670 ethbits
MoneyPot Profit 0.0000000000 ethbits
House Edge 1.01%
Total Expected Value -11.66666682 ethbits
Provably Fair
Client Seed 936624994
Server Secret 7cb657d7bc23a2b5f42ba72304bfa2ecca9873a1bdfb39f6dd0bfd0e80466fea
Server Salt 41cf4819c16450641d38d8384dff2e7cbc02e9b213f26bb90d36427ec1189adc
Server Hash 23107dcf9898af4a7d5d220b7ec92489c3c565d2cb88a4aabe26aaf99cb9e458
Raw Outcome 1626843869
Method SHA-256
From To Value Probability Expected Value
0 2505397589 19.60 ethbits 58.3333% 11.43450000
2505397590 4294967295 0.00 ethbits 41.6667% 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);