Logo Moneypot
Bet #1246640340
General
User vuiltje
App Bit-Exo
Kind Custom
Coin BTC
Wager 6.05 bits
Placed
Profits
User Profit 6.17 bits
Investor Profit -6.1943936933 bits
App Profit 0.0243936933 bits
MoneyPot Profit 0.0121968466 bits
House Edge 1.01%
Total Expected Value -6.09842332 bits
Provably Fair
Client Seed 1860287024
Server Secret 32bf3529acffc9b805da8dea15c8c3dc38f5b2f623b70cd6c73834413ce10feb
Server Salt d0a4881ef2415a6ebd44519f83f1f20675c8a393b6294bbd60fdb47ed0693af4
Server Hash ab8f2b4e595cd4eba94d486eadb88968428f2f5cc2912ef0d9c5c385228554a9
Raw Outcome 3664578248
Method SHA-256
Payouts
From To Value Probability Expected Value
2190006014 4294967295 12.22 bits 49.0099% 5.98950587
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.

PHP 7
$outcome = intval(substr(hash('sha256', $serverSeed . $clientSeed), 0, 8), 16);

Javascript (cryptocoinjs / sha256)

var output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);