Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nvnx7/dao-governance
OZ-compatible DAO contracts
https://github.com/nvnx7/dao-governance
Last synced: 11 days ago
JSON representation
OZ-compatible DAO contracts
- Host: GitHub
- URL: https://github.com/nvnx7/dao-governance
- Owner: nvnx7
- Created: 2022-03-01T18:32:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-22T20:10:30.000Z (over 2 years ago)
- Last Synced: 2023-09-15T11:13:52.695Z (about 1 year ago)
- Language: JavaScript
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DAO Governance Contracts
This project consists of contracts required to successfully deploy a DAO (OZ-compatible) on ethereum blockchain. It is built with Hardhat environment.
## Installation
The project dependencies include:
- [Hardhat](https://hardhat.org/)
- [OpenZeppelin Contracts](https://docs.openzeppelin.com/contracts/4.x/)
- [Waffle](https://getwaffle.io/)
- [Ethers](https://docs.ethers.io/v5/)Install by:
```
yarn install
```## Tests
Run tests by:
```
yarn test
```## Deployment
Set the required environment variables in a `.env` file based off `.env.example`. Configure contract params in `scrips/deploy-.js` file according to needs. Then run deployment:
- Development (local hardhat network)
```
yarn deploy:dev
```- Staging (rinkeby testnet)
```
yarn deploy:staging
```- Production (ethereum mainnet)
```
yarn deploy:production
```**Note**: After each deployment contract addresses are logged to `deploys.log` file in the root dir.