Skip to content

🦕 dApp to vote on the names of the newest dinosaurs

License

Notifications You must be signed in to change notification settings

eric-li18/dino-democracy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dino Democracy

dApp to vote on the name of the newest dinosaurs

About this Project

This toy project was made to explore and learn technologies for making decentralized applications.

Features

Submitting a New Dino Name

submitting a new dino name

Voting on a Dino Name

vote on a dinosaur name

Displaying the Winner

show winning dino

Technology Used

Getting Started

  1. Install truffle with npm install truffle -g
  2. Install Ganache
  3. Set up a new workspace and point it to truffle-config.js in the root directory.
  4. In the root directoy run
truffle compile
truffle migrate
  1. cd into the client directory and run
npm start
  1. Install MetaMask
  2. Head to localhost:3000 and the MetaMask overlay should pop up.
  3. Click import using Secret Recovery Phrase and paste in the code from Ganache.
  4. Checkout the Truffle tutorial for additional details on setting up.