Commit Graph

48 Commits

Author SHA1 Message Date
cedoor
3c5c0f4941 refactor: create signal hash fun for each protocol 2022-03-04 11:52:47 +01:00
cedoor
8bc23d43ac refactor: remove arity parameter from mt functions 2022-02-25 18:50:36 +01:00
cedoor
427b072a49 style: format code with prettier 2022-02-23 12:24:12 +01:00
bdim1
925dc525ae fix: skip 2022-02-22 18:49:05 +01:00
bdim1
ea7fbd9fbf fix: tests 2022-02-22 18:47:05 +01:00
cedoor
dfa386ad65 fix: remove public signal checks
Also, the old zk-protocols common class has been removed and the proof methods are now specific for
each protocol.
2022-02-21 18:26:10 +01:00
Nasi Jofce
d001f11730 fix(incremental-merkle-tree): merkle tree supports zero leaves. Merkle proof fails for zero value
The incremental-merkle-tree can be constructed with any value, including zeros. The generation of
merkle proof will fail for zero value.
2022-02-21 12:53:03 +01:00
Nasi Jofce
462a4bb745 feat(zk-protocol): structure the public signals array obtained while generating a proof from snarkjs
The generated proof using snarkjs will return an object of type PublicSignals for the public signals
2022-02-18 20:29:26 +01:00
Nasi Jofce
05130661fb feat(zk-protocol): structure the public signals array obtained while generating a proof from snarkjs
The generated proof using snarkjs will return an object of type PublicSignals for the public signals
instead of the array

BREAKING CHANGE: The generated proof using snarkjs will return an object of type PublicSignals for
the public signals instead of the array
2022-02-18 11:31:27 +01:00
cedoor
f5411edad3 feat: set binary tree for semaphore protocol 2022-02-14 18:17:14 +01:00
cedoor
26dd0f9da9 revert: set leaf parameter 2022-02-14 13:06:36 +01:00
cedoor
4d04aca097 feat: add function to generate merkle tree 2022-02-14 12:00:34 +01:00
cedoor
dd3a071817 chore: move zkey files on protocols package 2022-02-09 19:59:05 +01:00
bdim1
1794099664 feat: witness calculation from file removed 2022-02-09 18:50:33 +01:00
bdim1
51388a7c96 fix: rln changes & nrln removal 2022-02-02 22:27:58 +01:00
cedoor
74a853b151 test: terminate curve after zk tests 2022-01-24 17:10:42 +01:00
cedoor
865c5bb174 test: add tests to create proofs and verify them 2022-01-24 15:39:23 +01:00
cedoor
22f50857aa refactor: make methods static & neat code 2022-01-21 22:57:39 +01:00
cedoor
2028051989 fix: set correct secret type enum value 2022-01-21 14:06:44 +01:00
cedoor
02d9d0c3d2 fix: set correct secret type enum value 2022-01-21 14:01:47 +01:00
cedoor
09f41a7cc7 refactor: update identity class 2022-01-21 13:56:04 +01:00
bdim1
9574347e0a fix: identity multipart secret updates & nrln tests 2022-01-20 16:56:15 +01:00
bdim1
dd5dce291b fix: lint issues 2022-01-20 01:45:24 +01:00
bdim1
b0a50d6edb fix: rln reverted and protocol identity update 2022-01-20 01:40:49 +01:00
cedoor
0a1e952214 refactor: add airbnb eslint plugins 2022-01-19 15:14:56 +01:00
cedoor
a50e6a3981 refactor: move all types in root folder 2022-01-17 13:05:07 +01:00
cedoor
9a0bc64256 style: format code with prettier 2022-01-16 21:09:44 +01:00
bdim1
36fcf8482b fix: rln/nrln refactoring, identities and types update, zkeyFiles added 2021-12-28 16:28:26 +01:00
bdim1
78705ca073 skip tests 2021-12-28 01:23:44 +01:00
bdim1
fe2a676f38 feat: identities genSecret multipart secret updates & test updates 2021-12-28 00:51:34 +01:00
Andrija Novakovic
acaf3f43a0 Merge pull request #5 from appliedzkp/nrln_tests 2021-11-08 22:23:19 +01:00
Andrija Novakovic
e3b1aaf2d5 remove n_levels from nullifier 2021-10-28 09:58:22 +02:00
bdim1
b94aa1daaf nlrn tests 2021-10-26 22:36:30 +02:00
Andrija Novakovic
c0e39c52a4 skip tests that require build zk files 2021-10-25 22:32:12 +02:00
Andrija Novakovic
eb1f3ab0cc check if witness exists before deletion & rln full test 2021-10-25 22:31:38 +02:00
Andrija Novakovic
fb7af33c94 fix js ts modules with jest 2021-10-25 19:35:07 +02:00
Andrija Novakovic
faf535d093 skip tests that require compiled circuits 2021-10-25 15:10:59 +02:00
Andrija Novakovic
f509e36ebd proof compatible with circom 2.0 2021-10-25 15:04:57 +02:00
Andrija Novakovic
34af24546b full proof and proof types 2021-10-25 12:17:47 +02:00
Andrija Novakovic
73390a1fb3 new types 2021-10-25 12:03:38 +02:00
Andrija Novakovic
0b5b52bc08 make compatible with circom 2.0 2021-10-25 10:12:55 +02:00
Andrija Novakovic
fe19974ccd switch to zk identity class 2021-10-22 22:05:06 +02:00
cedoor
6cda3fc885 style: reformat code with prettier 2021-10-21 11:29:33 +02:00
bdim1
70e5358a79 README.md updates & inconsistencies fix 2021-10-20 23:36:10 +02:00
Andrija Novakovic
3279abf16f different functions for identity commitment generation 2021-10-20 07:47:34 +02:00
Andrija Novakovic
c07e556891 skip tests that require compiled circuits 2021-10-19 00:27:56 +02:00
Andrija Novakovic
451c033253 pretier and lerna build 2021-10-19 00:06:09 +02:00
Andrija Novakovic
fc80456d81 new version with submodules 2021-10-18 19:43:40 +02:00