Logo Moneypot
Bet #58827665
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 1.20 garlicbits
Placed
Profits
User Profit -1.20 garlicbits
Investor Profit 1.1957627957 garlicbits
App Profit 0.0042372043 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.41%
Total Expected Value -1.69488172 garlicbits
Provably Fair
Client Seed 2904846125
Server Secret 5ef42ab12ac14683dba68cacec58c9d8de2c34bc598fa0d8d85b54d96c7b2f92
Server Salt 1590d826441eebd29787676c303a5a9a667057220d7dfb4aefd3b93b1a52e4f1
Server Hash d5f5cc12f6323241972ea92df1320b2a23ca8b7e3b1a81939913b06e7353257a
Raw Outcome 1017521660
Method SHA-256
Payouts
From To Value Probability Expected Value
2168956358 4294967295 2.40 garlicbits 49.5000% 1.18800119
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);