Logo Moneypot
Bet #58591511
General
User Skefaman
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin GRLC
Wager 2.51 garlicbits
Placed
Profits
User Profit 3.70 garlicbits
Investor Profit -3.7065000001 garlicbits
App Profit 0.0065000001 garlicbits
MoneyPot Profit 0.0000000000 garlicbits
House Edge 1.04%
Total Expected Value -2.60000006 garlicbits
Provably Fair
Client Seed 397345912
Server Secret 375d2bc0d10f8407b32a6b315a138bece5dc1ee8130cda49a25c8248f6ba25b0
Server Salt d15d48f1961bd269618b36eb8d9feb00f97ac2562ab658184f213add6193500e
Server Hash 9ff89bcbcfcc7e3e9708946e79b6e3365910e13539d03589aacd78bdce60f804
Raw Outcome 1603592565
Method SHA-256
Payouts
From To Value Probability Expected Value
0 1717986918 6.21 garlicbits 40.0000% 2.48400000
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);