Giter Site home page Giter Site logo

blockchain-e-voting / ethzksnark-voting Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 12.0 4.79 MB

Secure E-Voting framework based on Ethereum blockchain and zkSNARK

Home Page: https://blockchain-e-voting.github.io/EthzkSNARK-Voting/

License: GNU General Public License v3.0

JavaScript 96.93% HTML 1.06% CSS 2.01%
arithmetic-circuit blockchain e-voting ethereum rinkeby transaction vote voter-registration voting zero-knowledge-proofs zksnark zokrates

ethzksnark-voting's People

Contributors

dulajsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ethzksnark-voting's Issues

Facing errors in Verifier.sol file

Hello Everyone,

This is Junaid and I have been working on incorporating ZK SNARKs within a voting application. I am facing some issues regarding the deployment of the contracts.

I am sharing the link for the repo that I have been working on.
https://github.com/Blockchain-E-Voting/EthzkSNARK-Voting/tree/master/contracts

First I am facing the issue in the 'verifier.sol' file for the switch statement. When I tried to resolve it by replacing the switch statement with if/else statement but then the compiler didn't able to identify the 'call' function and threw error 'Call' function not identified. I am using the solc (solidity compiler) version 0.4.23.
It would be great if anyone would help me in getting this application run properly.

Looking forward to your contribution.

Best Regards,

switch error

2_deploy_contracts.js missing contracts ?

Shouldn't other contracts (like Candidate.sol, Election.sol, Voter.sol, etc) be in the file 2_deploy_contracts.js ? How/when these contracts are deployed to the testnet ?

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.