Skip to main content

Battles

How does Provably Fair work for Battles on Razed.io

Written by Razed

Battles on Razed.io use a provably fair system powered by an EOS blockchain-based mechanism to determine outcomes. This ensures that every result is transparent, externally verifiable, and not controlled or influenced by the platform.

The outcome is derived from publicly generated blockchain data combined with cryptographic inputs, making manipulation practically impossible without control of the entire network.

Each battle result is generated using a combination of blockchain data and seeded randomness. Once a battle is created and players join, the system locks in a Server Seed and uses EOS blockchain information to generate the final outcome in a verifiable way.


Key Definitions

  • EOS Block Number – A sequential number assigned to each block on the EOS blockchain. Since new blocks are produced roughly every 500ms, future blocks can be predicted in sequence.

  • EOS Block ID – A unique hash generated when a block is mined on the blockchain. This acts as a public, verifiable source of randomness.

  • Server Seed – A 64-character random string generated for each battle and used as part of the outcome calculation.

  • Client Seed – The EOS Block ID used as the external, blockchain-based input for the battle outcome.

  • Nonce – A sequential number used to differentiate each round within a battle and ensure unique results.

  • Hashed Server Seed – The Server Seed hashed using SHA256, ensuring it cannot be reversed or predicted in advance.

  • Combined Seed – A combination of Server Seed, Client Seed, and Nonce, joined with “:” and hashed using SHA512 to generate the final result.

  • Ticket – A generated number between 1 and 100,000,000 used to determine item outcomes and winners.


How battle outcomes are generated

Once a battle is created, the system generates a Server Seed. After all participants (or bots) join, the system references the latest EOS block data and waits for a valid block to be mined. The resulting EOS Block ID is then used as the Client Seed.

With both the Server Seed and blockchain-based Client Seed in place, the battle begins. Each round is resolved one by one, corresponding to the number of cases included in the battle.


Draw situations

In some battles, two or more players or teams may end up with the same total value. In this case, a Draw Spin is triggered to determine the winner.

Each tied participant is assigned a ticket range based on their results, and a final random draw value is generated to select the winner.

For example, if two users are tied:

  • User 1 is assigned tickets 1–50,000,000

  • User 2 is assigned tickets 50,000,001–100,000,000

  • A draw value is generated (e.g. 23,188,100), which determines the winner based on the matching ticket range


Why it is provably fair

  • Uses external blockchain data (EOS) as a randomness source

  • Server-side and blockchain inputs are combined for outcome generation

  • Results are fully verifiable after the battle

  • No internal system can influence or alter outcomes

  • Every round is independently calculated and traceable

This ensures that every battle on Razed.io is transparent, externally verifiable, and mathematically fair from start to finish.

Did this answer your question?