+
Skip to content

a17/dao

Repository files navigation

DAO

Simple decentralized organization implementation with on-chain governance system based on openzeppelin-contracts.

Contracts

  • Token: ERC20Votes token
  • Governance: Governor
  • Treasure: TimelockController, ERC721Holder, ERC1155Holder

Docs

Usage

yarn
hardhat accounts
hardhat compile
hardhat clean
hardhat test
hardhat node
hardhat help
REPORT_GAS=true hardhat test
hardhat coverage
hardhat run scripts/deploy.ts
TS_NODE_FILES=true npx ts-node scripts/deploy.ts
eslint '**/*.{js,ts}'
eslint '**/*.{js,ts}' --fix
prettier '**/*.{json,sol,md}' --check
prettier '**/*.{json,sol,md}' --write
solhint 'contracts/**/*.sol'
solhint 'contracts/**/*.sol' --fix
hardhat run --network ropsten scripts/deploy.ts
hardhat verify --network ropsten DEPLOYED_CONTRACT_ADDRESS "string param1"

Tokenomics

This is the basic setup of a DAO Tokenomics 101: DAOs

DAO tokenomics

About

DAO smart contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载