BTC Games 4U use Moneypot as coin wallet and betting engine provider.
Moneypot uses a simple provably fair scheme, designed to be as easily machine-auditable as possible. It is our hope that all Moneypot games automatically and instantly verify the games on your behalf however it's important that you can, and do verify games yourself.
Before you place a bet, we prove that we have committed to an outcome between
232-1 (inclusive). We do this by sending you the
bet hash of the outcome. This has a very important property, if we changed the outcome the
bet hash would be different, and you could know the results were tampered.
bet_hash = sha256(server_seed + salt)
salt makes it infeasible for an attacker to brute force all
232 possible outcomes,
but is otherwise useless data. We do not yet reveal the
232-1which you can use to influence the final outcome.
A bet must be well-formed, meaning it must be +EV and within the kelly criterion for the house. If the bet can not be accepted (for example it is trying to win too much) the hash remains valid, and it should be reused.
Once given the bet, we calculate the final outcome:
output = Number.parseInt(sha256(serverSeed + clientSeed).slice(0, 8), 16);
and find all payout ranges that contain the final outcome are
summed, and paid. The net profit of a bet is the sum of all containing payout ranges, subtract the original wager.
To allow complete verification of the fairness, we reveal the original
salt which when
hashed together would result in the original given hash.