Logo Moneypot
Bet #61584575
General
User Anubis
App Bit-Exo
Kind Custom
Coin DASH
Wager 0.01 dashbits
Placed
Profits
User Profit 0.01 dashbits
Investor Profit -0.0100249975 dashbits
App Profit 0.0000249975 dashbits
MoneyPot Profit 0.0000000000 dashbits
House Edge 1.00%
Total Expected Value -0.00999901 dashbits
Provably Fair
Client Seed 970594117
Server Secret c01250a64ac35773fc254d99a705a2b78854085aa05d407410e8b02fb72af2e6
Server Salt cc8c52346f95d922b81a37a4dff979bc7fd1f7e6a42b9f5eaaace67eea2414eb
Server Hash bf4b41c566255c3c1e35fcda2ebbd6aac7f49be6e8236043049d740ae8604001
Raw Outcome 1532277078
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 0.02 dashbits 49.5000% 0.00990001
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);