Core Mechanism Specifications

Game Fairness Verification Flow

Key Technical Points:

  • HMAC-SHA256 layered seed mechanism

  • Verification formula: Result = HMAC(ServerSeed, ClientSeed + Nonce)

  • Integer games (0/1): Result % 2

  • Float games (0.1-9.9): (Result % 99)/10 + 0.1

2. Data Attestation Scheme

Data Type
Storage Method
Verification Method

Game Metadata

IPFS (CID recorded on-chain)

Reverse query via CID

Critical Parameters

BSC Blockchain

Direct blockchain explorer check

Fund Operations

Smart Contract Event Logs

On-chain transaction verification

Sample Attestation Structure:

{
  "game_id": "0x8a3b...f21c",
  "player": "0x5B38...C7",
  "result_type": "float",
  "result": 7.2,
  "proof": "ipfs://QmXy...9vE",
  "timestamp": 1720324555
}

3. Fund Protection Mechanism

Multi-Tier Safeguards:

  1. Third-parties must deposit minimum collateral to reserve pool contract

  2. Daily automatic audit of platform fund coverage ratio

  3. When protection triggers:

  1. function compensate(address player) external {
        uint amount = min(balance[player], poolBalance * 0.95);
        payable(player).transfer(amount);
    }

Last updated