This is a library to find random numbers, better than Math.random()
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
app.js
fair-random.js
index.html
style.css

README.md

Fair random

This is the best implementation of getting random numbers, backed by the blockchain.

Usage

just add the script, and import it

<script type="module">
import random from 'https://cdn.rawgit.com/bullgit/fair-random/gh-pages/fair-random.js';

console.log(random(0,5));
</script> 

More info

This project was made as a workshop at CodePenDay 2017 in Hamburg, slides and video available here

License

WTFPL