en
    solana-games
    8 min read

    A Practical Guide to provably fair Games: Verify Results Yourself

    SOLOTTO pool artwork

    SOLOTTO by SOLYMARKET

    Explore the artwork and inspect the rules. Product imagery is not evidence of a winning outcome or a verified payment.

    View pools & rules

    What provably fair verification actually proves

    A provably fair game lets you check whether a recorded result follows a disclosed cryptographic process, rather than simply trusting the operator’s explanation. Typically, the operator commits to a secret value before play, combines it with player-visible inputs, and reveals enough information afterward for you to reproduce the result.

    The important distinction is between verifying a calculation and proving that an entire gambling service is trustworthy. A correct calculation does not establish that withdrawals will be paid, that a game is legal where you live, or that its advertised odds are favorable.

    This guide explains what to save, how to check a commitment, and how to reconstruct a result yourself. The same approach works across many dice, crash, card, and lottery-style games, but each implementation requires its own published rules.

    How provably fair games commit to an outcome

    A common design uses a commit–reveal process. Before you play, the operator generates a secret server seed and publishes its cryptographic hash. That hash acts as a commitment: after you receive it, the operator should not be able to substitute a different seed that matches it.

    A simplified round works like this:

    1. The operator creates a secret server seed.
    2. You receive the hash of that seed before betting.
    3. A client seed and round counter become inputs to the result calculation.
    4. The game calculates a result using its documented algorithm.
    5. After the server seed is retired, the operator reveals it.
    6. You check the revealed seed against the original hash and reproduce the result.

    For a secure hash function, finding a different seed with the same commitment should be computationally infeasible. That protection matters only if you actually received the commitment before the relevant inputs or bets were finalized.

    Timing and input control matter, too. An operator that knows every input before committing could potentially search for favorable seeds. A sound protocol should explain how its sequence prevents that kind of selection.

    A ledger illustrating a provably fair seed commitment and result history

    The inputs you need before starting

    Open the game’s fairness documentation and round history. Save the original values rather than relying on memory or a result screenshot alone.

    | Item | What it does | |---|---| | Server-seed commitment | Records the operator’s pre-play hash | | Revealed server seed | Allows verification after retirement | | Client seed | Supplies a player-side input where supported | | Nonce | Distinguishes rounds using the same seed pair | | Cursor or sub-counter | Generates additional random data within a round | | Algorithm version | Identifies the applicable calculation rules | | Recorded result | Gives you the outcome to compare | | Payout rules | Explain how an outcome translates into payment |

    A nonce is usually a counter, but do not assume it begins at zero or increases exactly once per wager. Some games consume multiple values or maintain separate counters.

    A cursor may be necessary for a shuffled deck, multiple dice, or another result requiring several random draws. Missing it can make an otherwise correct reconstruction fail.

    If the game uses blockchain data, an external randomness service, or a public draw, also collect the specified reference and proof material. Those systems may not use the standard server-seed/client-seed model.

    Save the evidence before the seed changes

    Verification begins before the result exists. Save the commitment when it is displayed, along with the client seed and any relevant account or round settings.

    After the round, export or copy the round identifier, nonce, outcome, and payout details. When you rotate or retire the server seed, save its revealed value and preserve the old commitment separately.

    A practical record might contain:

    • The commitment displayed before play.
    • The client seed and when it was selected.
    • The round identifier and counter values.
    • The revealed server seed.
    • A copy of the algorithm documentation or its version.
    • The recorded outcome and payout calculation.

    A timestamped local record helps establish what you saw, although it is not automatically independent proof of when the operator published it.

    A Transparency ledger can provide additional published records to compare with your own. Check what the ledger actually records, whether entries are independently anchored, and whether it includes your specific round.

    Do not confuse a cryptographic game seed with a cryptocurrency wallet recovery phrase. Verification should never require your wallet’s recovery phrase or private key.

    Verification records beside a wallet interface for checking provably fair game inputs

    Step 1: Check the server-seed commitment

    Start by testing whether the revealed server seed matches the commitment saved before play. In a common implementation, the commitment is:

    SHA256(server_seed)
    

    That shorthand hides an important detail: hashing operates on bytes. The rules must specify whether the seed is treated as UTF-8 text, decoded hexadecimal, or another format.

    For example, hashing the text ab12 is different from hashing the two bytes represented by hexadecimal ab12. Neither interpretation is universally correct.

    For a system that explicitly uses SHA-256 over UTF-8 seed text, this Python snippet performs the check:

    import hashlib
    import hmac
    
    server_seed = input("Revealed server seed: ")
    saved_commitment = input("Saved SHA-256 commitment: ").strip().lower()
    
    calculated_commitment = hashlib.sha256(
        server_seed.encode("utf-8")
    ).hexdigest()
    
    print("Calculated commitment:", calculated_commitment)
    print(
        "Commitment matches:",
        hmac.compare_digest(calculated_commitment, saved_commitment)
    )
    

    This requires Python 3 and uses only its standard library. Enter the seed exactly; leading spaces, line breaks, or altered capitalization can change the hash.

    A match establishes consistency between that seed and that commitment. It does not establish that the commitment was shown before play unless you have preserved evidence of that timing.

    If the hashes differ, resolve that discrepancy before attempting to verify the game result.

    Step 2: Reproduce the random output

    Next, apply the exact algorithm specified by the game. Many implementations use HMAC-SHA256, which combines a secret key and a message to produce a deterministic digest.

    However, there is no universal message format. These messages produce different outputs:

    client_seed:nonce
    nonce:client_seed
    client_seed:nonce:cursor
    

    The choice of key matters as well. Reversing the server seed and message is not an equivalent operation.

    The following is an illustrative scheme only, not a verifier for any particular operator. It assumes the server seed is a UTF-8 HMAC key and the message is the UTF-8 text client_seed:nonce:cursor.

    import hashlib
    import hmac
    
    server_seed = input("Revealed server seed: ")
    client_seed = input("Client seed: ")
    nonce = int(input("Nonce: "))
    cursor = int(input("Cursor: "))
    
    message = f"{client_seed}:{nonce}:{cursor}".encode("utf-8")
    
    digest = hmac.new(
        server_seed.encode("utf-8"),
        message,
        hashlib.sha256
    ).digest()
    
    print("HMAC digest:", digest.hex())
    
    # Illustrative conversion, not a universal game rule:
    value = int.from_bytes(digest[:4], byteorder="big")
    fraction = value / (2**32)
    
    print("First four bytes as integer:", value)
    print("Fraction in [0, 1):", fraction)
    

    Run this only when the published specification matches those assumptions. Otherwise, modify the inputs, serialization, hash function, and byte conversion to match the actual protocol.

    For platform-specific instructions, Provably fair verification is a useful starting point. Confirm that any tool or example applies to the exact game and algorithm version you played.

    For stronger independence, reproduce the calculation locally instead of relying exclusively on an operator-hosted verifier.

    Step 3: Convert the output into the game result

    Matching a digest is an intermediate check. You still need to reconstruct the displayed result.

    For a hypothetical game with 10,000 equally spaced result slots, the mapping might be:

    slot = floor(fraction × 10000)
    displayed_result = slot / 100
    

    That creates values from 0.00 through 99.99. It is only an example; another game might use different bytes, precision, ranges, or rejection rules.

    Watch for these details:

    • Byte order: Big-endian and little-endian interpretations differ.
    • Byte selection: A game may skip bytes or combine several blocks.
    • Rounding: Truncation is not the same as rounding to nearest.
    • Rejection sampling: Some values may be discarded to avoid bias.
    • Boundary conditions: “Under 50” and “50 or under” differ.
    • Additional draws: Cards and multi-stage rounds may consume more data.

    Simply reducing a fixed-width random integer modulo the number of outcomes can introduce bias when the ranges do not divide evenly. A documented implementation may use rejection sampling to handle this.

    Card games require reproducing the shuffle and draw order. Crash games require their exact multiplier formula and rounding rules. Lottery-style games require the eligible-entry list, ordering, and selection method.

    Finally, verify the payout separately. A correctly generated outcome can still be paired with an incorrect settlement.

    Probability outcomes showing how provably fair random bytes map to game results

    Troubleshoot mismatches without guessing

    When your result differs, compare intermediate values rather than repeatedly changing inputs until something matches.

    Start with the commitment. If that matches, compare the serialized HMAC message, then the digest, extracted bytes, numeric conversion, and final result. This narrows the problem to a specific stage.

    Common causes include:

    • Copying the current seed instead of the retired seed.
    • Using the nonce from the next round.
    • Treating hexadecimal text as decoded bytes, or vice versa.
    • Omitting a cursor or game-specific identifier.
    • Using an outdated algorithm version.
    • Applying ordinary rounding where the game truncates.
    • Missing a rejected value or an extra random-data block.

    Ask support for the documented inputs and calculation, not merely a statement that the round passed verification.

    A useful report includes the round identifier, algorithm version, saved commitment, retired seed, client seed, counters, and the first intermediate value that differs. Share only necessary data; avoid posting unrelated account information or active secret material.

    An unresolved mismatch is a reason to pause play and preserve records. It is not, by itself, proof of intentional misconduct.

    Frequently asked questions

    Can I verify a game before the server seed is revealed?

    Usually, you can save and inspect the commitment, but you cannot fully reproduce the result until the necessary secret is revealed. Some protocols use public randomness or cryptographic proofs that support different verification timing. Follow the specific protocol rather than assuming every game uses seed rotation.

    Does successful verification mean the game has no house edge?

    No. Cryptographic verification checks whether a result follows the declared process. The payout schedule can still favor the operator. You must evaluate outcome probabilities and payouts separately. A sequence of verified losses does not mean a win is due.

    Do I need a cryptocurrency wallet to verify a result?

    Not necessarily. For a conventional seed-based system, verification needs inputs and computation, not a wallet connection. Blockchain-based games may require public transaction or randomness references. You should not need to transfer funds or disclose wallet secrets merely to check historical calculations.

    Is an operator’s built-in verifier enough?

    It is convenient, but it is not fully independent. A local script or independently maintained implementation provides a stronger cross-check when it follows the published specification. Open-source code helps inspection, but you must still confirm that it matches the relevant deployed game version.

    Are these games legal in the United States?

    Cryptographic verification does not determine legality. US gambling rules vary by state, game type, licensing, and other factors. Access to a website does not establish authorization to play. Check applicable requirements independently. Gambling activity can also have tax consequences; this is general information only, not tax advice.

    Summary: Verify the process, then evaluate the risk

    To check a result yourself, save the pre-play commitment, collect the exact round inputs, verify the revealed seed, reproduce the random output, and apply the documented outcome and payout rules.

    The strongest check is reproducible: another person using the same specification and inputs should reach the same result. Missing records, unclear algorithms, or unexplained mismatches limit what you can conclude.

    Responsible play: 18+ only, and only where legal; many US jurisdictions require age 21. Set time and spending limits, never chase losses, and do not treat gambling as income. Verification improves your ability to inspect a calculation. It does not remove financial risk or promise a winning outcome.

    Five pools to explore

    All pools

    Games from this article

    Before you choose

    Check availability, price, odds and network fees. 18+ only; no guaranteed winnings or profit.

    Smart player guides: wheel, card packs and the full siteRead the guides
    provably fair
    Solana
    SOLOTTO

    SOLOTTO

    Ready to try it on Solana?

    Explore pools and card packs. Check current prices, rules and availability, and verify each payment separately.