Skip to content

rishsol/Layer1-Ropsten-Poll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Layer 1 Solution Olympics - Rank your favorite Layer 1 Tokens like bitcoin, ether, avalanche.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published