Git Product home page Git Product logo

voterollup's Introduction

Binding voice proof-of-concept

  • this code is a aragon labs research project
  • is a quick & dirty implementation of an idea, expect bugs, do not use in production

How to build the project

  • install nvm, run nvm use 16
  • go to circuits folder && run npm i
  • go to contracts folder && run npm i
  • go to contracts/circuits folder
    • uncomment all makefile comments #
    • run make, wait some hours
  • create folder backend/q_n_d/prover and from there
    • git clone https://github.com/iden3/rapidsnark, compile the project, see its readme
    • git clone https://github.com/iden3/circom_runtime
    • mkdir nlohmann && wget https://github.com/nlohmann/json/releases/download/v3.9.1/json.hpp -O nlohmann/json.hpp
  • go to backend/q_n_d/node_modules/@vocdoni/storage-proofs-eth
    • run npm i
    • run npm run build
  • go to backend/q_n_d
    • run npm i
    • run build_all.sh

How to run the server

  • first run the test from backend/q_n_d node test.js
  • import private key accounts in that appears in test.js
  • in parallel
    • in backend/q_n_d run node server
    • in backend/q_n_d/client run node run serve

voterollup's People

Contributors

adria0 avatar

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.