Git Product home page Git Product logo

blockchainvoting's People

Contributors

dheerajd5 avatar hvardhan2000 avatar sahil-ramagiri avatar saitejach127 avatar

Watchers

 avatar  avatar  avatar

blockchainvoting's Issues

Adding Candidate

Complete add candidate function by adding the new candidate to candidates array and verify not duplicates exist in it

Deploying contract

Complete deploying contract function using the initialized web3 and public,private keys

Fails to get results

I checked on remix and the getResults fucnction fails as the size of the return arrays is not fixed. I have worked out the fix and can submit pull request now.

Complete constructor

Complete constructor function by assigning admin variable to contract creators address

Inovative solution

Proposing a new way to conduct elections
Propose a new architecture that is secure and fast to conduct elections

Calling the contract

Complete calling the functions using javascript and initialized web3 and public, private keys

Not ended modifier

Complete not ended modifier in voting.sol
Make sure to check whether election ended or not using the end boolean variable

Admin modifier

Complete the admin modifier in voting.sol
Make sure if the sender's address is the same as the admin address then allow or else reject the transaction

Voting by users

Complete voting function in voting.sol
Features:
Check whether previously voted or not
Increase vote count of candidate
make this user as voted

Results feature

complete get results function in voting.sol
It should return results in the form of names array and votecounts array

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.