AdrianGeorgeM / Erc20-Mint-Governance

In this repository, you'll find two contracts: 1.MyGovernor - a contract built from the openzeppelin governor wizard. 2.MyToken - a token which is built to work together with the governor standard.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERC20 for governance

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

Try running some of the following tasks:

npx hardhat help
npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js

About

In this repository, you'll find two contracts: 1.MyGovernor - a contract built from the openzeppelin governor wizard. 2.MyToken - a token which is built to work together with the governor standard.


Languages

Language:JavaScript 74.8%Language:Solidity 25.2%