Logo Moneypot
Bet #40382004
General
User CryptoCoins
App Bit-Exo
Kind Custom
Coin LTC
Wager 0.37 litebits
Placed
Profits
User Profit -0.37 litebits
Investor Profit 0.3689996340 litebits
App Profit 0.0010003660 litebits
MoneyPot Profit 0.0000000000 litebits
House Edge 1.08%
Total Expected Value -0.40014641 litebits
Provably Fair
Client Seed 799878320
Server Secret 34bf14a61b1ab63c509c779b9bbc16e9172c008f86e0f600ec1f8177144db3ea
Server Salt af73768a015832d3e0615d0556fb8ba5a0504a597d06da65346746b014124b55
Server Hash fe50e5208fbb7afc2025a2ca2e2b7176bca6b8b2111412a836dd11f1f228408a
Raw Outcome 1243473074
Method SHA-256
Payouts
From To Value Probability Expected Value
3435977272 4294967295 1.83 litebits 19.9999% 0.36629853
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);