Skip to content

edward821220/solana-voting-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solana Voting System

Overview

The Solana Voting System is a web application that allows users to create voting topics and participate in the voting process. Once the voting period ends, the winning option is displayed.

Project Link

Solana Voting System

Features

  • Create and manage voting topics.
  • Participate in voting for various options.
  • Display winning options after the voting period ends.

Screenshots

Home Page

Home Page

  • Displays a list of created voting topics.
  • Shows "Ended" below topics whose voting period has ended.
  • Includes "Airdrop" and "Create Vote" buttons for users to interact with.

Create Vote Modal

Create Vote Modal

  • Modal form that appears upon clicking the "Create Vote" button.
  • Users can input the voting topic, options (up to 20), and the duration of the voting period in seconds.
  • After submission, a new voting topic is added upon transaction completion.

Voting Information Modal (Active Voting)

Voting Information Modal (Active Voting)

  • Displays information about a specific voting topic upon clicking its button.
  • Shows available options and current vote counts.
  • Users can vote by clicking the "Vote" button next to their desired option.

Voting Information Modal (Ended Voting)

Voting Information Modal (Ended Voting)

  • Displays voting information for a topic whose voting period has ended.
  • Includes a crown icon next to the winning option.

Usage

  1. Visit the provided Solana Voting System link.
  2. Explore existing voting topics on the home page.
  3. Click "Create Vote" to create a new voting topic and follow the modal instructions.
  4. Participate in active voting by clicking on the respective voting topic and selecting an option.
  5. View the results after the voting period ends.

Notes

  • This project is deployed on Solana Devnet.
  • Users can utilize the "Airdrop" button if their wallet is empty.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published