How to build an on-chain DAO | Typescript & Solidity (Python version in description)
Using Compound and Openzeppelin as a basis, we build a 100% on-chain DAO using an ERC20 governance token for votes. And yes, that is me doing windmills. โ๏ธ Article: https://betterprogramming.pub/how-to-code-an-on-chain-dao-e525e13a57be?sk=959cb289140bba734acfe843d8226c4a ๐ป JS Code: https://github.com/PatrickAlphaC/dao-template ๐ป PY Code: https://github.com/brownie-mix/dao-mix ๐ Python Video: https://www.youtube.com/watch?v=rD8AxZ_wBA4 ๐ Openzeppelin Governance: https://docs.openzeppelin.com/contracts/4.x/api/governance ๐ Compound Governance: https://compound.finance/governance ๐งโโ๏ธ Contract Wizard: https://docs.openzeppelin.com/contracts/4.x/wizard ๐ณ CastVoteBySig: https://forum.openzeppelin.com/t/what-is-votecastbysig/17069/2 โฐTimeStamps 0:00 | Introduction 1:06 | Ending Code Walkthrough 2:18 | Setup and Agenda 4:20 | Box Contract 6:30 | Governance Token 12:10 | Governance Contract 19:14 | Timelock Contract ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ โ 22:15 | Checkpoint - Great work! โ ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ 22:55 | Deployment Scripts: Governor Token 38:10 | Deployment Scripts: TimeLock 40:30 | Deployment Scripts: Governance 44:45 | Deployment Scripts: Setup Contracts 50:30 | Deployment Scripts: Box ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ โ 53:48 | Checkpoint - Great work! โ ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ 54:25 | Scripts: Propose 1:11:00 | Scripts: Vote 1:18:10 | Scripts: Queue And Execute 1:25:55 | Conclusion & Outro Check out these articles to learn about some of these tools and start your journey as a smart contract engineer! ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ ๐How to Become a Blockchain Engineer: https://betterprogramming.pub/how-to-become-a-blockchain-engineer-fa4386a0504f?sk=745ae4e8f9389907eb98e68b736afaf1 โ๏ธTop 10 Resources, Tutorials, and Follows: https://dev.to/patrickalphac/top-10-smart-contract-solidity-developer-learning-resources-46db ๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐๐ โ โ Donate โ โ I use donated funds to spend money on making fun & informational videos. ETH/Polygon/Avalanche/EVM Chains Wallet address: 0x9680201d9c93d65a3603d2088d125e955c73BD65 ๐ธ๐ธJoin the community!๐ธ๐ธ Chainlink developers discord: https://discord.gg/2YHSAey Twitter: https://twitter.com/patrickalphac Medium: https://medium.com/@patrick.collins_58673 TikTok: https://www.tiktok.com/@patrickalphac? Twitch Stream Uploads & Shorts: https://www.youtube.com/channel/UCMHHNgcezTnfrJUM1vIiZlQ Twitch: https://www.twitch.tv/patrickalphac All thoughts and opinions are my own.
Download
0 formatsNo download links available.