39 Commits

Author SHA1 Message Date
Anton
79c602670b chore: clean up (#74)
* chore: clean up

- [x] Add checks for ci actions
- [x] Run prettier, clippy, fmt commands for all the files
- [x] Move circom circuits to a circom folder
- [x] Get rid of js var statements

* chore: add resolver version for cargo.toml

* chore: add circom tests

* chore: optimize check triggers

* chore: remove `check` command

* chore: use only `pnpm`

* chore: update readme

---------

Co-authored-by: 0xmad <0xmad@users.noreply.github.com>
2023-11-18 20:48:24 +03:00
Sergey Kaunov
1b11bdd4a9 Update .gitignore
https://github.com/plume-sig/zk-nullifier-sig/pull/66/#issuecomment-1780924701
2023-10-26 18:40:05 +03:00
Sergey Kaunov
e1ca66e26f Delete javascript/yarn.lock
Sad way to merge #66
2023-10-26 18:35:49 +03:00
skaunov
6c487c0fb9 "README" files update 2023-10-20 20:31:21 +03:00
skaunov
d8fb1b8b08 Fix merging, JS lock files update 2023-10-20 20:26:26 +03:00
skaunov
da9f5fb288 All modules naming is aligned. + refactoring&tests
[Discussion] results are incorporated. Naming groomed repository wide. \
Fun fact: I already was confused by that "hash2" naming, lol.

Note that `fn verify_signals` barely [benefit]
from renaming at all currently.

[Discussion]: 251fba6902 (commitcomment-130400727)
[benefit]: https://github.com/plume-sig/zk-nullifier-sig/issues/61
2023-10-20 17:59:39 +03:00
Sergey Kaunov
f4b53bc183 Fix: array signals (#65)
Co-authored-by: RajeshRk18 <kannar432@gmail.com>
2023-10-20 14:55:14 +03:00
Oren
acf76e1fd5 v2.0.3 2023-10-06 23:38:36 +03:00
Oren
76da9687cc Set the default version to V2 (JavaScript) 2023-10-06 23:27:35 +03:00
Oren
82c7c265ae lintomg: fix spacing 2023-10-06 23:23:27 +03:00
Oren
1935b0d320 v2.0.2 2023-10-06 22:23:07 +03:00
Oren
0ddb004f3d Replace node:crypto with js-sha256 for browser compatibility 2023-10-06 22:18:14 +03:00
Oren
f7cccd0d80 v2.0.0 2023-10-05 20:21:09 +03:00
Oren
512159a91c Align PlumeVersion.V1 to be equal to 1 2023-10-05 20:17:44 +03:00
Oren
19ae71bc31 Export PlumeVersion 2023-10-05 20:15:33 +03:00
Oren
7018be9b66 Move jest to devDependencies 2023-10-05 20:14:35 +03:00
RajeshRk18
91088140fd Add: Ref comment 2023-09-27 15:40:12 +05:30
Vu Vo
837e28bae1 remove js-sha512 2023-05-12 21:21:13 +07:00
Vu Vo
9ac8f68880 modified javascript lib 2023-04-17 18:37:41 +07:00
blakemscurr
3ba74797c4 Merge branch 'main' of https://github.com/zk-nullifier-sig/zk-nullifier-sig into main 2023-03-23 13:34:42 +13:00
Richard Liu
154aba52d6 1.5.0 - add tests, remove Buffer (bad for browsers) 2023-03-20 17:29:47 +07:00
blakemscurr
6d4c645c6f Merge branch 'main' of https://github.com/zk-nullifier-sig/zk-nullifier-sig into main
Reintroduce curve.P vs curve.N fix, and merge testing styles.
2023-03-16 11:33:36 +13:00
Richard Liu
7781afa7cc update js version 2023-03-13 16:19:27 +07:00
blakemscurr
baee84e770 Move from deprecated crypto package to built in node:crypto. 2023-02-14 13:19:16 +13:00
blakemscurr
94e1b6d46a Tidy up EOF new lines. 2023-02-14 13:11:20 +13:00
Richard Liu
e82f74c751 add computeAllInputs to javascript 2023-02-13 00:51:23 -08:00
blakemscurr
2c8182f87b Split test constants into a separate file. 2023-02-13 16:07:33 +13:00
Richard Liu
ecac4e7395 1.0.2 2023-02-12 14:09:23 -08:00
Richard Liu
fea535557c fix 2023-02-12 14:08:54 -08:00
Richard Liu
0cdde5445d publish 2023-02-12 05:47:47 -08:00
Richard Liu
5cce16343d add npmignore 2023-02-12 05:46:33 -08:00
blakemscurr
b4139edb2c Correctly calculate sha256 of 6 compressed ec points in the circuit. 2023-02-10 16:43:43 +13:00
blakemscurr
ee5809915b Add whole circuit test. 2023-02-04 16:42:57 +13:00
Richard Liu
bd7b3b1023 change package name 2023-02-02 10:59:47 -08:00
blakemscurr
a680f19e08 Test circuit WIP.
First equation not verifying, even outside circuit.
2023-02-02 17:13:00 +13:00
Richard Liu
c10e8b032f use published amcl-js package 2023-02-01 01:25:06 -08:00
Richard Liu
546e45c611 remove zero-installs 2022-12-18 02:12:07 -08:00
Richard Liu
4a06e51d38 prepare for publish 2022-12-12 02:26:36 -08:00
Richard Liu
39ba380fa7 rn to just javascript 2022-12-01 04:28:57 -05:00