Skip to content

ferrodri/quadratic-voting-dao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quadratic voting DAO

Introduction

Welcome to the Quadratic Voting DAO. The purpose of this project is to demonstrate a quadratic voting model. The project manages the election of the moderators of the DAO through quadratic voting.

For the definition of the quadratic voting model, please refer to: https://en.wikipedia.org/wiki/Quadratic_voting

Setup

Please read through this setup for smart contracts and interface to work.

  1. Install Node Modules (nvm use / npm install)
  2. Run Tests (npx hardhat test)
  3. Start a local node (npx hardhat node - TERMINAL ONE)
  4. Deploy Contracts / Local Blockchain Instance (npx hardhat --network localhost run scripts/deploy.js - TERMINAL TWO)
  • Interface folder
  1. Install Node Modules (nvm use / npm install)
  2. Build the project (npm run build)
  3. Start Project (npm start - TERMINAL THREE)

Note: Sometimes you may need to reset your metamask account to be able to create, vote or execute a proposal: https://wealthquint.com/reset-metamask-wallet-account-30599/#:~:text=To%20reset%20MetaMask%20Wallet%2C%20In,MetaMask%20Wallet%20will%20be%20reset.

Please reach out if you have any issues getting your dev env setup.

About

Implementation of quadratic voting in a DAO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published