-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generating randomness #58
Comments
When working on the CI, I realized that gen-random didn't compile. I just now realized it's a work in progress. I did a little work fixing compile errors that lives here. https://github.com/substrate-developer-hub/recipes/tree/start-updating-random There's a cool example of decoupling randomness in paritytech/substrate#3792 |
The way to generate a random seed seems outdated in recipes. |
Lucky timing to post this @kaichaosun There is a PR open now #182 |
Review welcome :) |
* Fixed typo * Updated image organization
Mechanisms for generating randomness offer varying levels of security/cost. Random seed is inexpensive but not very secure; VRFs are more expensive and more secure. Likewise, a recipe on randomness should guide developers based on the requirements of their application to navigate this tradeoff between runtime cost and security requirements...
The text was updated successfully, but these errors were encountered: