A decentralized voting application built on the Internet Computer (ICP) blockchain using Rust and stable memory structures.
This project demonstrates how to store votes persistently on-chain using StableBTreeMap.
- Create and manage proposals.
- Allow users to vote on proposals.
- Store data using stable memory so that it persists across upgrades.
- Written entirely in Rust for backend (no frontend yet).
- Rust (canister backend)
- Candid Interface for interaction
- Stable Memory using
ic-stable-structures
- Install the DFX SDK.
- Clone this repository:
git clone https://github.com/YOUR_USERNAME/voting-app.git cd voting-app
Start the local ICP environment: dfx start --background Deploy the canister: dfx deploy Interact with the canister using: dfx canister call voting_app <method_name> 🤝 Contribution
If you want to improve the project (e.g., add frontend in React), feel free to fork and make a PR.
Add a React frontend for a user-friendly interface.
Support for multiple voting strategies.
Authentication with Internet Identity.