current position:Home>How to generate 1 ~ 5 random numbers on eth chain

How to generate 1 ~ 5 random numbers on eth chain

2022-02-03 23:56:25 Q & A of Denglian community

I want to produce 1000 individual 1~5 The number of , And the number of each number is different , How to produce the right... On the chain , If it's just random, then every number appears at the same frequency , It's not good , Numbers 1 You may need to 800 individual , And the number 5 as long as 5 individual ,






Other answers 1:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032356239808.html

Random recommended