Commit Graph

163 Commits

Author SHA1 Message Date
cedoor
cc21bb125f chore(protocols): v1.11.0 2022-03-04 12:24:47 +01:00
cedoor
3c5c0f4941 refactor: create signal hash fun for each protocol 2022-03-04 11:52:47 +01:00
cedoor
e6e457dfe6 chore(protocols): v1.10.0 2022-02-28 16:50:51 +01:00
cedoor
fde16215b4 refactor: update parameter to pack solidity proofs 2022-02-28 16:50:22 +01:00
cedoor
fe0646540e chore(protocols): v1.9.0 2022-02-27 19:32:44 +01:00
cedoor
8bc23d43ac refactor: remove arity parameter from mt functions 2022-02-25 18:50:36 +01:00
cedoor
6885a38603 docs: set correct function doc parameter 2022-02-23 12:27:42 +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
18c613d17c chore(protocols): v1.8.2 2022-02-21 18:39:13 +01:00
cedoor
8c9e488374 fix: export all types 2022-02-21 18:34:06 +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
dff118f925 chore: v1.8.1 2022-02-21 13:55:19 +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
26883cb3f2 chore: v1.8.0 2022-02-14 18:17:38 +01:00
cedoor
f5411edad3 feat: set binary tree for semaphore protocol 2022-02-14 18:17:14 +01:00
cedoor
b4247b5fdf chore(protocols): v1.7.1 2022-02-14 13:52:03 +01:00
cedoor
6acdd40533 fix: set correct bigint tree leaves 2022-02-14 13:51:40 +01:00
cedoor
515591a7f2 docs: remove npm bundle size badge 2022-02-14 13:08:07 +01:00
cedoor
65138edc66 chore(protocols): v1.7.0 2022-02-14 13:07:04 +01:00
cedoor
26dd0f9da9 revert: set leaf parameter 2022-02-14 13:06:36 +01:00
cedoor
9e9a50cd8d chore(protocols): v1.6.0 2022-02-14 12:07:24 +01:00
cedoor
f0692ad28b docs: update protocols readme file 2022-02-14 12:06:59 +01:00
cedoor
4d04aca097 feat: add function to generate merkle tree 2022-02-14 12:00:34 +01:00
cedoor
773c106e66 chore(protocols): v1.5.0 2022-02-10 11:11:06 +01:00
cedoor
dd3a071817 chore: move zkey files on protocols package 2022-02-09 19:59:05 +01:00
cedoor
40539f0168 chore: add jest ignore comment for zk-protocol file 2022-02-09 19:58:22 +01:00
bdim1
7e19716e13 fix: merge updates 2022-02-09 19:01:38 +01:00
bdim1
9fadb1b82b Merge branch 'main' of https://github.com/appliedzkp/zk-kit into main
 Conflicts:
	packages/protocols/src/utils.ts
	packages/protocols/src/zk-protocol.ts
	packages/protocols/yarn.lock
2022-02-09 18:53:46 +01:00
bdim1
1794099664 feat: witness calculation from file removed 2022-02-09 18:50:33 +01:00
cedoor
c865306afc chore(protocols): v1.4.2 2022-02-09 15:19:21 +01:00
cedoor
87fcdf2810 build(rollup): replace typescript plugin 2022-02-09 15:17:20 +01:00
cedoor
f781c7c585 chore(protocols): v1.4.1 2022-02-09 10:48:39 +01:00
cedoor
5ff7fcb42c chore: update incremental-merkle-tree dependency 2022-02-09 10:47:21 +01:00
cedoor
730ae24937 refactor: move shared types to specific packages 2022-02-09 10:30:41 +01:00
cedoor
af95ad731c chore(protocols): v1.4.0 2022-02-07 12:03:34 +01:00
cedoor
b0f405df78 refactor: update function to pack solidity proofs 2022-02-07 11:58:44 +01:00
cedoor
e6e49453e0 chore(protocols): v1.3.0 2022-02-02 22:53:20 +01:00
bdim1
51388a7c96 fix: rln changes & nrln removal 2022-02-02 22:27:58 +01:00
cedoor
eb37ae1276 chore(protocols): v1.2.5 2022-02-02 17:49:15 +01:00
cedoor
9bbd898ab3 chore: update incremental-merkle-tree deps 2022-02-02 17:48:47 +01:00
Omar Desogus
dfd4b1ce01 docs: update usage section 2022-02-01 16:33:03 +01:00
cedoor
1ea410456f chore(protocols): v1.2.4 2022-01-26 22:45:56 +01:00
cedoor
beb9747cb3 fix: set correct solidity proof pack 2022-01-26 22:45:21 +01:00
cedoor
29354fba62 chore(protocols): v1.2.3 2022-01-25 18:43:12 +01:00
cedoor
7798768cbc chore: remove unused dependency 2022-01-25 18:42:32 +01:00
cedoor
00f1d62587 chore(protocols): v1.2.2 2022-01-25 14:46:32 +01:00