## 🧠 How It Works - The **owner** deploys the contract with a list of proposals. - Anyone can **vote once** for their preferred proposal. - The **owner** can close voting anytime. - Once closed, an
## 🧠 How It Works
- The owner deploys the contract with a list of proposals.
- Anyone can vote once for their preferred proposal.
- The owner can close voting anytime.
- Once closed, anyone can call getWinningProposal()
to view the winner.
---
## 💡 Future Improvements
- Allow multiple voting sessions.
- Add on-chain proposal creation.
- Integrate with a simple front-end DApp.
- Add off-chain storage for proposal details.
completed
not doing