Logo Moneypot
Bet #61584574
General
User Anubis
App Bit-Exo
Kind Custom
Coin DASH
Wager 5.12 dashbits
Placed
Profits
User Profit 5.12 dashbits
Investor Profit -5.1327987331 dashbits
App Profit 0.0127987331 dashbits
MoneyPot Profit 0.0000000000 dashbits
House Edge 1.00%
Total Expected Value -5.11949325 dashbits
Provably Fair
Client Seed 970594117
Server Secret c65231c33e047c7e67840c8ef7781503179ec91048a7623638f99a5524b1afca
Server Salt a90aa4b1da1cbe10f91ab5cdf4611973c3282049a7b61c24aed534724fe02850
Server Hash c9860bcf941913ff4592c74e8df5fc2a98d50d014a38e5b51d66a9ac062ee12b
Raw Outcome 441847012
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 10.24 dashbits 49.5000% 5.06880507
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);