Logo Moneypot
Bet #2893867
General
User tripleseven
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.83 litebits
Placed
Profits
User Profit -0.83 litebits
Investor Profit 0.8266803286 litebits
App Profit 0.0033196714 litebits
MoneyPot Profit 0.0016598357 litebits
House Edge 1.00%
Total Expected Value -0.82991785 litebits
Provably Fair
Client Seed 1565652956
Server Secret c1813c9cb116b20cbe54b00d19bd66768a6ad5e68d65b794a0cb06e0e1c7f873
Server Salt d73aa9ebfbe174c32e947f349fb2c04b319d48229cec59f3dc58b5ee1d5c6b16
Server Hash a5087aa8370768c13853f674871a13b55c11f6f2e35b0b01dd4cbfc1dba8d1be
Raw Outcome 3226308375
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 1.66 litebits 49.5000% 0.82170082
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);