Logo Moneypot
Bet #61584581
General
User Anubis
App Bit-Exo
Kind Custom
Coin DASH
Wager 1.28 dashbits
Placed
Profits
User Profit -1.28 dashbits
Investor Profit 1.2768003167 dashbits
App Profit 0.0031996833 dashbits
MoneyPot Profit 0.0000000000 dashbits
House Edge 1.00%
Total Expected Value -1.27987331 dashbits
Provably Fair
Client Seed 970594117
Server Secret c4cad0902fa8227c2b51906587730c706fcf55f51514657d3fc41a561fde892f
Server Salt 1f615bc9f80fea9e1ff7a07230e8fe58a9a7645e4915070754362aa0d920bec5
Server Hash 4e6bea69dd2742fb7e251134fc8d58f5c3b0346cc139471ee7abc015621ea716
Raw Outcome 326229333
Method SHA-256
Payouts
From To Value Probability Expected Value
2168956359 4294967296 2.56 dashbits 49.5000% 1.26720127
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);