BTSE Lottery: Learn How Winners Are Selected

Written by BTSE

April 26, 2022

BTSE Lottery: Learn How Winners Are Selected

We launched the BTSE Lottery feature to add to your user experience with more rewards. In the spirit of fairness and transparency, the points below explain how winners are selected.  

When the ticket claiming period ends, all tickets subscribed will be entered into a pool. The system then selects the winner(s) through the following steps:

1. To generate a random number, first, select the price of the BTSE-USD trading pair * 1000 (and convert it to an integer) at the target time (72 hours before the ticket claim period ends) + the number of all subscribed tickets as the base seed denoted as “S”.

2. Use the SHA-256 hash algorithm to generate the hash value of “S”, denoted as “H”. Then use “H” as a hexadecimal number and convert it into a big integer “B”.

3. “W = B % N” will be the winning ticket number, where “N” is the total number of tickets and “%” is the remainder.

4. If a certain number of winners (“X”) needs to be selected, before selecting the next winner, the ticket(s) of the participant(s) who have already won will be excluded from the pool. Steps 2 and 3 will be repeated until “X” unique winners are selected.

The selection algorithm can generate one or more numbers for each event.

Good luck and enjoy the upcoming events!

 


Our aim is to create a platform that offers users the most enjoyable trading experience. If you have any feedback, please reach out to us at feedback@btse.com or on Twitter @BTSE_Official.

Note: BTSE Blog contents are intended solely to provide varying insights and perspectives. Unless otherwise noted, they do not represent the views of BTSE and should in no way be treated as investment advice. Markets are volatile, and trading brings rewards and risks. Trade with caution.

Related Articles

Stay Informed with BTSE

Join Our Newsletter

Never miss a beat with the latest updates and industry insights from BTSE.

Follow Us

Join our rapidly growing community and exclusive events!