Skip to content

Sigmadex/vote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

React Front-End for Voting Interface

Summary

This application enables select whitelisted wallet addresses to vote on a proposal.

How it Works

A user will be able to connect their wallet and place a vote on if their wallet address is whitelisted in the smart contract. Votes will be stored on-chain in an array that can be called through Web3 API.

The voting interface consists of 2 elements:

  • React front-end
    • For interacting with the voting smart contract (client side)
      • Submitting a vote
      • Viewing statistics
    • Statistics panel (admin side)
      • Associate wallet ID with vote and weight
  • Smart contract itself
    • Verifying eligibility
    • Storing votes
    • Supplying stats
    • Add weighted parameters
    • Ending voting session

Proposed Flow Diagram

index

Figma Design

2022-06-15_18-15-53

About

Voting platform for SEP-002

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published