Code DAO's
Allow your community to manage your code using a DAO! Pull requests are automatically merged using a set-and-forget voting contract and a Github bot.
Getting Started
- Install the Code DAO bot to your github repository.
- Create a new PR and follow the bot's instructions for initializing your repository and setting a voting threshold (the minimum number of votes required for merging.
- Add members to your DAO by whitelisting their ethereum addresses. (Fortmatic Recommended, link included in bot's comments)
- Once initialized, members of the DAO can now vote on new PRs.
- Upon each comment on the Pull Request, the bot checks the if the voting threshold has been reached, and if so, automatically merges.
How to Contribute
If you have suggestions for how dao-git-probot could be improved, or want to report a bug, open an issue! We'd love all and any contributions. We currently use the Code DAO to manage this repository as well.
- Get whitelisted here https://github.com/dao-git/dao-git-probot/issues/2
- Make a pull request with your changes
- Wait for contributors to vote (be sure to vote yourself!)
- Once
votingThreshold
is met, make a comment in the pull request to trigger the bot to merge.
For more, check out the Contributing Guide.
Development
# Install dependencies
npm install
# Run the bot
npm start
History
Made at ETHDenver2019, check out our submission here!
License
ISC