- this code is a aragon labs research project
- is a quick & dirty implementation of an idea, expect bugs, do not use in production
- install
nvm
, runnvm use 16
- go to
circuits
folder && runnpm i
- go to
contracts
folder && runnpm i
- go to
contracts/circuits
folder- uncomment all makefile comments
#
- run
make
, wait some hours
- uncomment all makefile comments
- create folder
backend/q_n_d/prover
and from theregit clone https://github.com/iden3/rapidsnark
, compile the project, see its readmegit 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
- run
- go to
backend/q_n_d
- run
npm i
- run
build_all.sh
- run
- 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
runnode server
- in
backend/q_n_d/client
runnode run serve
- in