Skip to content

Y0sefTamer/voting_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICP Voting App 🗳️

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.


🚀 Features

  • 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).

🛠️ Tech Stack

  • Rust (canister backend)
  • Candid Interface for interaction
  • Stable Memory using ic-stable-structures


⚙️ Setup Instructions (Local Development)

  1. Install the DFX SDK.
  2. 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

Contributions are welcome!

If you want to improve the project (e.g., add frontend in React), feel free to fork and make a PR.

📌 Future Plans

Add a React frontend for a user-friendly interface.

Support for multiple voting strategies.

Authentication with Internet Identity.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published