At Trial of Midas, we prioritize transparency and fairness. To ensure that every game round is provably fair and free from manipulation, we have implemented a cryptographically verifiable system based on SHA-256 hashing and random number generation.
1. Game Round Initialization
A new game round begins as soon as the first player joins.
The system generates a random floating-point number between 0 and 1, called secret_float.
Immediately, we compute its SHA-256 hash:
secret_hash = SHA256(str(secret_float))
This secret_hash is published on the website for all players to see before the round starts.
2. Player Participation and Ticket Allocation
Each 1 Shard wagered = 1 Ticket earned.
Players may join up to 5 times per round.
Ticket numbers are assigned automatically and sequentially as players join.
3. Countdown Mechanism
When at least two players have joined, a 55-second countdown begins.
Every new bet extends the countdown by 5 seconds.
4. Betting Closes & Draw Preparation
Once the countdown expires, no further entries are accepted.
The system records the final total number of tickets and prepares for the draw.
5. Winning Ticket Calculation
The winning ticket number is calculated using:
winning_ticket = int(secret_float * total_tickets) + 1
6. Result & Public Verification
The original secret_float is revealed after the draw.
Players can independently verify fairness by checking:
SHA256(secret_float) == secret_hash
Example
secret_float = 0.523456789
total_tickets = 1734
winning_ticket = int(0.523456789 * 1734) + 1 = 907
Anyone can verify (Python example):
import hashlib
hashlib.sha256("0.523456789".encode()).hexdigest()
# Should equal the previously published `secret_hash`
Why It’s Fair
The hash is published before any outcome is determined.
The draw is based on a pre-committed random number, not influenced by entries or ticket count.
All calculations are transparent and reproducible.
Join the Trial of Midas with confidence — every outcome is verifiably fair.

