Logo Moneypot
Bet #47618334
General
User helpmywallet
App CoinPro.fit - New Weekly Prizes!
Kind Simple_dice
Coin MBI
Wager 2,000,000.00 monbits
Placed
Profits
User Profit 2,000,000.00 monbits
Investor Profit -2,004,500.0000390999 monbits
App Profit 4,500.0000391155 monbits
MoneyPot Profit 0.0000000000 monbits
House Edge 0.90%
Total Expected Value -1,800,000.01564620 monbits
Provably Fair
Client Seed 722667314
Server Secret 8c9d3ad50f378c7a50f790f2afb6a113fc3b6d7f39ed947ed50fb4a314a94efd
Server Salt 8bb29f265d83c6e7ce0a1c5669541b476b9d4db9812c27c8507adadac9cf63e5
Server Hash 196a5d6021d64047f9b7c2ea6b992ae951848d56b22b8af636521760f22dd5d3
Raw Outcome 3687741025
Method SHA-256
Payouts
From To Value Probability Expected Value
2166811001 4294967296 4,000,000.00 monbits 49.5500% 1,981,999.99984354
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);