Skip to content

UMainLove/MintGovernance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Hardhat Project

This project demonstrates how to use an ERC20 for governance. The token will have two purposes:

It will be the token used for voting weight in our Governor contract. It will have a mint function which can only be called when a proposal from the token holders has been successfully executed.

The contracts are developed using @openzeppelin/contracts Wizard V5

npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js

About

Governance using ERC20 token

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.6%
  • Solidity 32.4%