Logo Moneypot
Bet #34139602
General
User tripleseven
App Bit-Exo
Kind Custom
Coin LTC
Wager 10.32 litebits
Placed
Profits
User Profit -10.32 litebits
Investor Profit 10.2941973935 litebits
App Profit 0.0258026065 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.00%
Total Expected Value -10.32104259 litebits
Provably Fair
Client Seed 3819453076
Server Secret 0aec2b5a4e898a29adbcc1a662e6877795f713da755428a908fe655187874a6a
Server Salt 375999e93ee1205a29426f32ee05657b150db542d1b8fb8c749c819223cabc10
Server Hash ce677e99732bfbbb27d5de3a43151c1e57d9f5276ead0fddb3f2883d41d68c0b
Raw Outcome 516371563
Method SHA-256
Payouts
From To Value Probability Expected Value
2168960653 4294967295 20.64 litebits 49.4999% 10.21678957
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);