Every coin flip asks the same question: was the result decided before you bet, or after? You should not have to take our word for the answer.
Every flip carries a hash of its seed in the transaction you sign. When the flip settles, the seed is revealed. You can compare the two, redo the maths, and see for yourself.
Every flip has its own 32-byte seed. The server hashes that seed with SHA-256 and puts the 64-character hash into your bet transaction as an instruction argument.
Your signature covers the hash, so the seed behind it is fixed from the moment you sign. Nothing can swap it afterwards without breaking the hash in a transaction that is already on-chain.
When the flip settles, the seed is written to the flip record. The receipt shows it next to the hash, so both halves of the check are on one screen.
The seed is the only input. Read it as one 256-bit number:
n = BigInt("0x" + seed)
win = n < 2^255
Half of that range is below the threshold and half is above it, so the chance is exactly 50%. There is no bet size, no treasury balance and no streak count in this formula. Nothing else can move the result.
The order is what matters. The hash is in the transaction before you sign it, so the seed cannot be chosen to match a result you already saw. If a different seed were used to settle the flip, it would not hash to the value in your transaction, and the receipt would show a mismatch.
A win pays 1.97x. That multiplier is 2 minus 2 × 0.015, so the commission is 1.5% of the stake and it sits in the payout, not in the randomness.
The seed and the threshold are untouched by it. Every flip is still 50/50, and the edge is a visible line in the multiplier instead of something buried in the draw.
Each flip draws its own seed, and the flip record keeps it. A seed cannot settle two flips, so a win cannot be replayed and a run of losses cannot be explained by one seed quietly reappearing.
import hashlib
seed = "…" # from the receipt
commitment = "…" # from the transaction you signed
print(hashlib.sha256(bytes.fromhex(seed)).hexdigest() == commitment)
print(int(seed, 16) < 2**255)
The first line must print True. The second gives the result: True is a win, False is a loss, and it has to match what the receipt says was paid.
You can hand both values to any hash tool or to an AI agent instead of running the code. The receipt already runs the same two checks and shows an error if the seed and the record disagree.
These two checks prove one thing each. The hash proves the seed in the receipt is the seed from your transaction. The number proves that seed gives the result you were paid. Together they mean the flip on your screen is the flip the seed produces.
Play a flip. Every settled flip has a receipt, so you can check the first one you play.
The crash game uses the same idea with one more number in it: how crash rounds are proven fair.