Coin Battles
Dice
Wheel
Roulette
Coin Flip
Ladder
Turtle Race
Baccarat
Bitto
Races

Fairness

Hashchain

Peergame Peergame uses a secret key with SHA-256 to generate a chain of 1,000,000 hashes, and each round seed’s hash equals the previous round seed.

Next round’s seed

a84c9d1c4365c1aa….

----- SHA256 Hash ---⤍

Current round’s Seed

c445edbfb36fab61….

Game Result

Random number for the game result is derived from a hash of the current round seed + all participated transaction ID in each round. Then the random number is divided by 4, which results in four different game scenarios. Please see the image below.

Hash (current round’s seed + users’ bet TxIDs) = Random number

a84c9d1c4365c1aa….

Game result = Random number % mod 4 = 0 ~ 3

0

1

2

3

Example

1. 100th round’s seed is:

a84c9d1c4365c1aa7c828d02582585b205d39a61dba446dfeb1d8f510cc0d983

2. Hash’ed 100th round’s seed becomes the current (99th) round’s seed

c445edbfb36fab617aeef9ee0e00cf6aba1158d18eb1d86843f3031390a14315

3. Combine the current round’s seed with all TxIDs that users made in the 99th round

c445edbfb36fab617aeef9ee0e00cf6aba1158d18eb1d86843f3031390a14315

5fdefd49eacd58282950b8fb02e5ab90bdbda18784d6cd65ddef6fb63b078d29

05052f8f5f72f2561b15564099e23f75e8bee17ab8734ef3792b577f3d091caa

391cd172817c842992e63036e333d80a6edd35a996683c98911c566c3dcbf287

4. Hash (current round’s seed + TxIDs) is divided by 4

d9c057dc462ae53ab62ac469fd8b60a7ddd2892ea78b7d29ed79a20aecedfd34

  % 4

= 0 (Game result)

GamesRacesPromotions
Peergame PartnersBlogFairnessHelp CenterContact