When a developer wants a random number, they simply type in the command “Math.random()”, and a random number will be generated. Though helpful for developers to come up with a random number, on the blockchain, it doesn’t work. Instead of numbers being completely random, computers in the network need to arrive at the same number, not together, but independently. The reason is that using Math.random() would result in many different computers coming up with many different numbers. This would produce different results for each computer and break blockchain agreement. Because of this, blockchain protocols don’t just randomly generate numbers. They manufacture numbers that behave unpredictably. Sealed Envelopes, and Who Opens Last Ethereum runs a commit-reveal scheme. Simply, everyone submits a sealed answer first and opens it later, so nobody can change theirs after seeing anyone else’s. Validators, which are operators who confirm the transactions, each pick a secret number and then publish it scrambled. The scrambling runs one way only, so the sealed version gives nothing away. They then reveal the number in a set order, and each is mixed into a running total. Every validator sees the ...
There is no Math.random() on a blockchain
1 week ago
11
Related
Capital B’s €21 million Bitcoin raise comes with heavy warra...
37 minutes ago
0
Iran’s war reshapes global energy economics after six months...
38 minutes ago
0
Iran conflict pushes VLCC rates to $650,000 per day amid Str...
39 minutes ago
0
Grok Bot enables online purchases with Stripe Link integrati...
45 minutes ago
1
Tips
Online Tools
Site DoctorIcon Generator
Online Web Tools Collection 1
Online Web Tools Collection 2
Website Analysis
Website SEO
Domain Availability Check
Free videos download
Useful Information
Collection of Useful LinksListen to Free Radio
Listen to Free Music
Free Movie Information
IT Blog
IT News
IT Information
English Address Info
Global News Information
Global Bible Information
Global Book Information
Global Comic Book Information
Global Music Information
BTS, BlackPink Information
Cryptocurrency Information
Pet Dog Information
Overseas Real Estate Information
Cooking Information
Health Information
Overseas Travel Information
click
Popular
526 million tasks, two dollars each: Pi’s human workforce
4 weeks ago
43
© Clint's Cryto News 2026. All rights are reserved
















English (US) ·