A minimal DAO prototype using Hardhat (Solidity) and React.
Users can connect a MetaMask wallet, create proposals, and vote.
- Smart Contracts: Solidity ^0.8.0, Hardhat
- Frontend: React, ethers.js
- Tooling: Node.js, npm/yarn
git clone https://github.com/aybikedalbul/dao-chainvote.git
cd dao-chainvote
-
Create Proposal
Users can submit a new proposal with a description on-chain. -
Vote
Increment the vote count for any existing proposal. -
View Proposals
Display a list of all proposals, showing each proposal’s ID, description, vote count, and proposer address. -
Wallet Connect
Detect and prompt MetaMask (or any injected Ethereum provider) connection via ethers.js.
- License: MIT
- Author: Aybike
- Email: aybike@example.com