provable-things/ethereum-api

Is it a right place to ask a question? Can I get aqn array of Random numbers?

Closed this issue · 2 comments

Is it possible to generate an array of random numbers, with every number to distinct, say 10 numbers in range of 0 and 1000?

You have that possibility with the Random Datasource, it returns n bytes you request. They could be converted in such a manner, although we don't have a built-in converter, but might consider adding one. For now you would have to convert the bytes result appropriately yourself.

Regarding asking questions about the service, our gitter channel is the best bet, which I'll look to add to our various readmes.