Connect with us
Active Currencies 14588
Market Cap $2,674,246,324,734.14
Bitcoin Share 50.30%
24h Market Cap Change $0.10

BORA’s Random Number Generation API Offers Security for Probability Systems

3min Read

Share this article

BORA has developed an Application Programming Interface [API] that ensures fairness, reliability, and transparency in probability systems using blockchain technology. Today, we introduce BORA’s random number generation API, now available to content developers.

Source: Block72

Probability systems are commonly used for various purposes, including online gaming. Many online gamers have experienced successes and disappointments with random boxes, leading players to question the possibility of manipulating the odds. Random number generation [RNG] is the basis of the probability system of those random boxes.

Source: Block72

There are many ways to create random numbers. Many people use calculation algorithms to generate random numbers based on numeric values referred to as “seeds”. The seed is a number that changes fluidly, most often using the current time to produce the value.
But this method has problems. Using predictable values such as time for the seeds enables users to manipulate the calculation algorithm by creating random numbers for the expected values or predicting the exact values [numbers], thereby leaving the system vulnerable to exploitation.

Source: Block72

With BORA’s random number API, which uses “future numbers” as seed values for extracting random numbers, users can avoid this problem.
Consider the example where a block hash value is generated five seconds after a random number request. In this scenario, when a user requests a random number, BORA’s random number generator incorporates the block hash [TxHash] into the BORA network as a seed value. The value is created five seconds after the request is made, and BORA assigns a random number based on that value. Hash values are continuously generated with random numbers and characters, and future hash values are unknown. Using this process, BORA’s random number generation API ensures the reliability and fairness of the probability system.
BORA’s random number generation API also provides transparency. It discloses whether the seed value used to generate random numbers is based on the future hash value. Furthermore, with BORA Explorer, anyone can see block data of random number generation results, including the hash value.

Source: Block72

BORA offers programs and resources for developers and users interested in their random number generation technology. For example, Dice Roller, a program built using BORA’s random number API, is currently available through the BORA Lagoon testnet. The Dice Roller program displays information such as a Request Address, which indicates the account information of the user requesting the random number, and a Maximum Number, which limits the range of possible numbers [in the example shown, from 1 to 6].
Waiting Block Count is a future number that, in this case, refers to the next block hash value created after the random number request. With these variables, the timing and order of future number generation are made flexible. Lastly, the Request Sequence prevents abuse by tracking the number of requests used within the smart contact to stop users from achieving a specific number through simultaneous number requests.
In addition to the random number generation API, BORA is continuing to develop tools that help content developers easily integrate blockchain technology with digital content.
For more information about BORA visit WebsiteTelegram, TwitterMedium.
Contact here and check out the website.


Biraajmaan covers market trends of major cryptocurrencies. As a graduate in engineering, his interests lie in Blockchain technology. With over a year as a journalist, his articles focus on US and UK markets.
Read the best crypto stories of the day in less than 5 minutes
Subscribe to get it daily in your inbox.
Please check the format of your first name and/or email address.

Thank you for subscribing to Unhashed.