Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.9 KB

File metadata and controls

26 lines (23 loc) · 1.9 KB

Getting Started

Setting up the Frontend

  • In another terminal session, cd client, npm run start
  • In the truffle develop terminal session, run migrate --reset
  • Accept MetaMask connection to https://localhost:3000
  • In the browser console, if you see errors such as did you run out of gas, tx does not have correct nonce, etc., go to metamask, settings --> advanced --> reset account and refresh page.

Using Frontend

  • Drag and drop level 1 coins from your favorite to least favorite, most promising to least promising, most bullish to least bullish, etc and then select rank.
  • Accept gas fee (metamask transaction will pop up).
  • Final Result:
  • Users who have already voted cannot vote again, but you can simulate new users via metamask and ganache (you are provided with 10 default accounts). In metamask, click the upper right hand side button, create account, create. Connect this account to https://localhost:3000 (upper left hand corner). Then reset account (see instructions above) and refresh page. -Final Result (3 accounts added).

Upcoming Changes

  • Linked List data structure to store voters to reduce gas costs.
  • Running application on Ropsten Test net, deploying via IPFS.