Logo Moneypot
Bet #1266407764
General
User bigntall83
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.04 litebits
Placed
Profits
User Profit -0.04 litebits
Investor Profit 0.0394595115 litebits
App Profit 0.0005404885 litebits
MoneyPot Profit 0.0002702443 litebits
House Edge 3.38%
Total Expected Value -0.13512214 litebits
Provably Fair
Client Seed 60326326
Server Secret 84e187c058c7123e4212236b5d8ce01a4c6b1cb4a62bd5445969e93fa8cd4b26
Server Salt 0fc6675165632fdf5ea972fe6aed98de51487d89a20027facbfeb9c74d47abdb
Server Hash ed0235d7ead0fd07c2ca58c81029749c1bf49b1da98323724e439b1d0f3b0af3
Raw Outcome 1026589444
Method SHA-256
Payouts
From To Value Probability Expected Value
0 638443232 0.27 litebits 14.8649% 0.03960013
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);