In this project, I demonstrate the process involved in running a DAO. Below are the steps involved in executing a task through a DAO:
Step 1: Granting roles to participants using TimeLock contract.
Step 2: Making a proposal to the Governor.
Step 3: Voting takes place post the voting delay.
Step 4: Queuing the proposal post the voting period. This is done to allow the participants who were against the proposal to leave the DAO if they wish to.
Step 5: Execution of the proposal.
forge install OpenZeppelin/openzeppelin-contracts --no-commit
git clone https://github.com/alfheimrShiven/dao.git
cd dao
forge build
forge test
or
forge test --fork-url $SEPOLIA_RPC_URL
forge coverage
If you appreciated this, feel free to follow me: