Skip to content

Simple voting algorithm and application with Hyperledger Fabric Composer

Notifications You must be signed in to change notification settings

Daniel-Szego/DecentralizedVotingDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DecentralizedVoting

Decentralized voting with Hyperledger Fabric Composer

Assets:

  • VotingRound
  • Vote

Participants:

  • Voter
  • Admin

Voting process:

  • INIT: Create VotingRound
  • Create Voters
  • ROUND 1: StartVotingTransaction -> Voting (only hash values)
  • VoteTransaction -> vote for the possible values
  • ROUND 2: Set VotingState to Calculating
  • RevealVoteTransaction (revealing vote values and salts)
  • CLOSE: CalculateVotesTransaction -> calculating the votes and the vinner

Releases

No releases published

Packages

No packages published