Commit Graph

107 Commits

Author SHA1 Message Date
Micah Zoltu
2c964b3fe6 Removes most dependencies and switches to @noble/hashes.
* @noble/hashes is a widely used and audited cryptography library that is pure JavaScript with no transitive dependencies and no dependencies on NodeJS.
* NodeJS now comes with built-in support for testing, so mocha and chai are no longer required, removing most dependencies from this project.

Between these two changes, almost all dependencies were removed and now there are only 2, including transitive.
2024-11-28 18:34:47 +08:00
poma
869181cfaf add verifyProof overload that accepts a single byte buffer of snark proof params 2019-11-08 00:50:02 +03:00
Jordi Baylina
f2e5bc56b3
0.1.20 2019-09-15 10:49:33 +02:00
Jordi Baylina
2fa9503ad6
better info in runtime constraint assertion 2019-09-15 10:49:19 +02:00
Jordi Baylina
d2ccc9dce5
0.1.19 2019-09-05 17:11:41 +02:00
Jordi Baylina
3cbc29caf1
pow and abs in the bigInt wrapper 2019-09-05 17:11:31 +02:00
Jordi Baylina
83bca745d0
0.1.18 2019-08-30 10:20:45 +02:00
Jordi Baylina
cdd17764d7
Deps 2019-08-30 10:20:35 +02:00
Jordi Baylina
1d3ab5b738
0.1.17 2019-08-09 01:06:20 +02:00
Jordi Baylina
f4560459b6
Merge pull request #28 from peppersec/master
instanceof bigInt [ bug fix ]
2019-08-09 01:05:34 +02:00
Alexey
30ad8a5db2 bigInt instanceof fix 2019-08-08 22:16:05 +03:00
Jordi Baylina
3b304abb03
0.1.16 2019-08-02 00:10:55 +02:00
Jordi Baylina
865e53e44d
Merge branch 'master' of github.com:iden3/snarkjs 2019-08-02 00:10:25 +02:00
Jordi Baylina
f708b15666
0.1.15 2019-08-02 00:09:50 +02:00
Jordi Baylina
85c08cfe7a
small fixes 2019-08-02 00:09:30 +02:00
Jordi Baylina
c428706ef6
Merge pull request #27 from weijiekoh/master
Added revert reasons to the snark_scalar_field checks in verifier.sol templates
2019-07-30 05:53:16 +02:00
Koh Wei Jie
2e9be76932 added revert reasons to the snark_scalar_field checks in verifier.sol templates 2019-07-30 10:20:33 +08:00
Jordi Baylina
f8ba7cbfa7
Fix brackets in the in field check 2019-07-26 14:19:26 +02:00
Jordi Baylina
0349d90824
Merge pull request #26 from kobigurk/fix/public_inputs_size
Ensures public inputs are less than the scalar field size
2019-07-26 14:14:09 +02:00
Kobi Gurkan
25dc1fc6e3 Ensures public inputs are less than the scalar field size 2019-07-26 15:07:46 +03:00
Jordi Baylina
5fe2bd4642
Merge pull request #23 from adria0/master
sol 0.5.0, remove warnings, add require messages
2019-06-27 11:43:32 +02:00
Jordi Baylina
1c1c5cba67
Merge pull request #22 from Mikerah/patch-1
typo fixes
2019-06-27 11:41:18 +02:00
adriamb
d2b3be19ef Revert "Generate contract name by its name output"
This reverts commit 22a5b7bc46a0a1a69019af9feb99fe3cdbe1411b.
2019-06-18 17:07:11 +02:00
adriamb
22a5b7bc46 Generate contract name by its name output 2019-06-18 16:33:14 +02:00
Jordi Baylina
6f98a0bfea
0.1.14 2019-06-16 00:13:05 +02:00
Jordi Baylina
406ec9fd62
log functions 2019-06-16 00:12:50 +02:00
adriamb
c5cd822350 sol 0.5.0, remove warnings, add require messages 2019-06-14 16:42:23 +02:00
Mikerah
c4d50c5d61
typo fixes 2019-06-10 20:52:48 -04:00
Jordi Baylina
75a7b6eb18
Link video and tutorial 2019-04-12 05:20:43 -07:00
Jordi Baylina
6fa02b36d3
0.1.13 2019-04-12 05:15:23 -07:00
Jordi Baylina
e1875cddc0
update packages 2019-04-12 05:15:06 -07:00
Jordi Baylina
55d06a9bef
0.1.12 2019-04-09 14:56:16 +02:00
Jordi Baylina
ff5b1760c2
Small fixes and optimizations 2019-04-09 14:55:59 +02:00
Jordi Baylina
26c2389800
0.1.11 2019-02-15 09:38:25 +01:00
Jordi Baylina
e2ba387d08
ignore keys 2019-02-15 09:36:45 +01:00
Jordi Baylina
eda62b4a14
Merge pull request #10 from DalaiLlaama/master
Spelling correction
2019-02-15 00:00:38 +01:00
Jordi Baylina
eeba050585
Merge pull request #14 from stanislasdrg/master
Removed useless commas
2019-02-14 23:59:59 +01:00
Jordi Baylina
8425374235
Merge pull request #15 from ledfusion/master
Ensure JS compatibility on browser environments
2019-02-14 23:59:28 +01:00
Jordi
9360dd121f Ensure JS compatibility on browser environments 2019-02-14 23:18:53 +01:00
stanislasdrg@gmail.com
d5d2aa8599 Removed useless commas 2019-02-07 22:04:47 +00:00
Jordi Baylina
b7f5cce74b
0.1.10 2019-02-05 20:34:41 +01:00
Jordi Baylina
43f224fab9
Merge pull request #12 from iden3/CVE-2019-7167
Cve 2019 7167
2019-02-05 20:33:29 +01:00
Jordi Baylina
71c66408f5
Fix CVE-2019-7167 2019-02-05 20:28:51 +01:00
Jordi Baylina
4bb05b7b74
Dependency fix 2019-02-05 20:22:55 +01:00
DalaiLlaama
b33aacb1a5 Updated solidity version pragma to 0.4.17 2019-01-14 13:30:46 +11:00
DalaiLlaama
ffde284556 Spelling correction 2018-12-29 18:26:45 +11:00
Jordi Baylina
c51b4c5318
0.1.9 2018-12-23 00:00:17 +01:00
Jordi Baylina
76f6e70633
remove log 2018-12-23 00:00:08 +01:00
Jordi Baylina
113475af9c
0.1.8 2018-12-22 23:51:18 +01:00
Jordi Baylina
8a594dc942
Small changes 2018-12-22 23:51:10 +01:00