Re:Predicting Random Numbers in Ethereum Smart Contracts
by johntb86 on Friday February 02, 2018 @11:01PM
(#16296090)
What use cases are there for random numbers in smart contracts? From the article, it seems like gambling is the main use.
[ Parent
| on HN ]
Re:Predicting Random Numbers in Ethereum Smart Contracts
by mcherm on Saturday February 03, 2018 @07:05AM
(#16297303)
Suppose I wanted to create a "game" running on Etherium's global computer; perhaps one that allowed people to own and breed virtual cats. I might want a random component in my "breed" behavior.
Imagine I want to create a smart contract where tasks are created by customers and assigned randomly to "turks" who submit completed tasks and are paid (if the task is accepted). A random number might be one useful part of the task assignment process.
ANY program that would random numbers is a potential candidate.
Re:Predicting Random Numbers in Ethereum Smart Contracts
by realusername on Saturday February 03, 2018 @02:11AM
(#16296606)
It's pretty much the same use case as any standard code, smart contracts are just decentralised code after all.
Re:Predicting Random Numbers in Ethereum Smart Contracts
by nopit on Friday February 02, 2018 @11:09PM
(#16296114)
Gambling is pretty much the only use for smart contracts in general.
Re:Predicting Random Numbers in Ethereum Smart Contracts
by nym on Saturday February 03, 2018 @01:05AM
(#16296425)
Supposedly, this is a 51.96 billion market globally.
https://www.statista.com/statistics/270728/market-volume-of- online-gaming-worldwide/