Logo Moneypot
Bet #61585791
General
User naranjomarkos
App Bit-Exo
Kind Custom
Coin GRLC
Wager 0.04 garlicbits
Placed
Profits
User Profit -0.04 garlicbits
Investor Profit 0.0393098943 garlicbits
App Profit 0.0006901057 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 6.90%
Total Expected Value -0.27604228 garlicbits
Provably Fair
Client Seed 3504051585
Server Secret 0988015684ba22df8f21e37defb8db31366fc4659e4b5a02e7d4f83bc7e76320
Server Salt 4a3f5d1b929e1f36db5ba32d7d614d6d7aad4247a6a131a8e44d253c3ed4437c
Server Hash 852c39b2fef2eeec3857ff78a2c86b8745b6e380a8607f78302c322eec34da58
Raw Outcome 2377240726
Method SHA-256
Payouts
From To Value Probability Expected Value
3064638323 4294967295 0.14 garlicbits 28.6458% 0.03959999
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);