We can't trust online lottery since random process are modifiable. There should be fair random system that no one could manipulate. Fair RNG create Smart contract for trustless process using Ethereum block hash as seed number.
- Install nodejs
- Clone or Download this repo
npm install
node app.js
- Install Chrome or Firefox
- Install Metamask browser extension
- Open http://localhost:8080