Logo Moneypot
Bet #61653770
General
User tripleseven
App Bit-Exo
Kind Custom
Coin BTC
Wager 1.76 bits
Placed
Profits
User Profit 1.76 bits
Investor Profit -1.7643995645 bits
App Profit 0.0043995645 bits
MoneyPot Profit 0.0000000000 bits
House Edge 1.00%
Total Expected Value -1.75982580 bits
Provably Fair
Client Seed 3575576383
Server Secret 8f66975b342d247309381611c5b9f0e8997efa61f780cfc67a8ba50e1921f0f9
Server Salt d47deb81126c43051e9d5f25baff4fc370011a2bcf7f679a2e2d6c83660cffa4
Server Hash 96c49c5277538b7d022e9a5cbcc9d1eb5c9485d1fb227986149746be7a07dcdd
Raw Outcome 245798653
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 3.52 bits 49.5000% 1.74240174
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);