aragonzkresearch / anon-voting-demo

Onchain Anonymous Voting demo app
GNU General Public License v3.0
1 stars 0 forks source link

clientlib: census builder & vote package builder #19

Closed arnaucube closed 1 year ago

arnaucube commented 1 year ago

This PR adds the needed clientlib methods for building the census and preparing the vote package. The missing features are smartcontract/server requests, zkproof generation, and BabyJubJub key derivation from Metamask signature.

The tests included in this PR are minimal, and the checks are quite naive. In future iterations, with the zk-proof generation the tests will be extended.

resolves #6