Logo Moneypot
Bet #61585778
General
User naranjomarkos
App Bit-Exo
Kind Custom
Coin GRLC
Wager 0.02 garlicbits
Placed
Profits
User Profit -0.02 garlicbits
Investor Profit 0.0192968743 garlicbits
App Profit 0.0007031257 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 14.06%
Total Expected Value -0.28125028 garlicbits
Provably Fair
Client Seed 3504051585
Server Secret 014a1b67cefb3872381f4260c59b0104f742a1bd6f7f048d2c84144ee3c11dfe
Server Salt f1d5f1136176ac2a6b6dabeefadce41c13a37d8486ee55af65956cbca9187f4f
Server Hash a1f7fcdf521452a800597fd4d05a63c9a680d88e8d96431394dcf30c9dba09c7
Raw Outcome 901975601
Method SHA-256
Payouts
From To Value Probability Expected Value
3064638323 4294967295 0.07 garlicbits 28.6458% 0.01980000
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);