Logo Moneypot
Bet #63613584
General
User Anubis
App Bit-Exo
Kind Custom
Coin BTC
Wager 0.01 bits
Placed
Profits
User Profit 0.01 bits
Investor Profit -0.0100249975 bits
App Profit 0.0000249975 bits
MoneyPot Profit 0.0000000000 bits
House Edge 1.00%
Total Expected Value -0.00999901 bits
Provably Fair
Client Seed 3575150818
Server Secret 6b8674fb91e2d7ebff8fcdbddfa45b185276661e64d909d3a11e1c9c92040163
Server Salt 6fc77c44aa63d8d524e47d9b3ae2c344cc3f888895165a1e5b85c6ad59349afe
Server Hash 7995d21e65558bbdab59b8fcac74482807c970f813ffed894b7b9324f35b6048
Raw Outcome 719668517
Method SHA-256
Payouts
From To Value Probability Expected Value
0 2126010937 0.02 bits 49.5000% 0.00990001
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);