Provably Fair System
Transparency and fairness you can verify
What is Provably Fair?
Provably fair is a technology that ensures complete transparency in online gambling. It allows you to verify that every case opening is genuinely random and hasn't been manipulated by anyone - including us.
Unlike traditional online gambling where you have to trust the house, our provably fair system uses cryptographic techniques that make it mathematically impossible to cheat. Every result can be independently verified by you.
How Our System Works
Each case opening uses a combination of seeds and blockchain data to generate a truly random result. Our XiaobetFun smart contract implements a provably fair algorithm that ensures complete transparency.
1. Client Seed
When you open a case, your browser generates a random client seed. This ensures that we cannot predict or manipulate the outcome.
2. Server Seed
Before you open the case, we generate and commit to a server seed. The hash of this seed is shown to you before the opening, proving we cannot change it afterward.
3. Blockchain Data
We use the blockhash from the BNB Smart Chain at the time of your opening. This adds an additional layer of randomness that neither party can control.
4. Nonce
A unique counter ensures no two openings can ever produce the same result, even with identical seeds.
5. Result Generation
All these components are combined and hashed using SHA-256 (see our randomness algorithm documentation):
result = SHA256(clientSeed + serverSeed + blockhash + nonce)
randomNumber = result % 10000
item = selectItemByNumber(randomNumber)
For more technical details, view the complete contract workflow and reward structure in our documentation.
Verify Your Results
Use this tool to verify any of your past case openings. You can find all the required information in your transaction history on BscScan.
On-Chain Verification
Every case opening is recorded permanently on the BNB Smart Chain. Our smart contract address is publicly verifiable on BscScan (view contract address). This means:
- All transactions are publicly viewable on BscScan
- Results cannot be altered or deleted
- Anyone can audit the smart contract code
- Seeds and results are permanently recorded
How to Verify on BscScan
- Go to bscscan.com
- Enter your wallet address to view your transactions
- Find the case opening transaction
- Check the input data and event logs for the seeds
- Use our verification tool above to confirm the result
Why You Can Trust Us
The XiaobetFun smart contract implements industry-standard security practices. Learn more about our contract features and technical implementation.
- Open Source: Our smart contracts are publicly available and audited
- Immutable: Once deployed, the contract logic cannot be changed
- Decentralized: Results are generated using blockchain data we don't control
- Transparent: Every seed and result is recorded on-chain forever
- Verifiable: You can independently verify every single opening
Frequently Asked Questions
Can xiaobet.fun manipulate the results?
No. The combination of your client seed, blockchain data, and our pre-committed server seed makes it mathematically impossible for us to manipulate results. We would need to control the blockchain itself, which is impossible.
How do I know the server seed wasn't changed?
Before each opening, we show you a hash of the server seed. After the opening, we reveal the actual seed. You can verify that the hash of the revealed seed matches the one shown before, proving we didn't change it.
What if I don't trust the blockchain data?
The blockhash is generated by thousands of independent validators on the BNB Smart Chain. No single entity, including us, can control or predict these values.
Can I use my own seeds?
Yes! Advanced users can set their own client seed before opening a case. This gives you complete control over half of the randomness equation.