Logo Moneypot
Bet #58827631
General
User marti997
App Bit-Exo
Kind Custom
Coin GRLC
Wager 38.40 garlicbits
Placed
Profits
User Profit -38.40 garlicbits
Investor Profit 38.3027720004 garlicbits
App Profit 0.0972279996 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.01%
Total Expected Value -38.89119984 garlicbits
Provably Fair
Client Seed 2097434720
Server Secret 197ce77e60090050b648d36862c4d2bf020c734f889ae2f32c1d6db5b10c9ec7
Server Salt bca0dccea2051995ebc68730f5340544ade6baa74594278d0a3f57efd8e53b7c
Server Hash b20992952e7d4c1f0b77c86d71a5eb083ac385a0740a7bd8cecfebc6a8e81ee2
Raw Outcome 242515889
Method SHA-256
Payouts
From To Value Probability Expected Value
2168956358 4294967295 76.80 garlicbits 49.5000% 38.01603801
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);