- Connect to nice front end
- Assign everyone an ID
- Add server
- Mobile friendly (?)
- Write deployment instructions
- Make sure only one vote per account
- Install Ganache
- Install Truffle suite
- Install ngrok (for exposing localhost to the outside world)
Using Ganache, either GUI or CLI, use port 7545. In order for the randomly generated addresses to match our 3-digit dictionary and the print-outs use mnemonic: eye kitchen logic goddess file borrow diesel social nurse absurd thrive spare
.
Can use ngrok http 7545
to make this blockchain available from outside, or use http://127.0.0.1:7545
within the same computer.
Inside /blockchain
do truffle compile && truffle migrate --reset
. This will compile and deploy the voting smart contract, and save its hex address to a text file inside /blockchain
. Use this address in the frontend js files.