Commit Graph

78 Commits

Author SHA1 Message Date
Rodrigo Q. Saramago
c9e4192335
Add method to verify merkle proof 2022-08-22 22:26:44 +02:00
Rodrigo Q. Saramago
f9d7765305
Fix lint erros 2022-07-15 10:33:37 +02:00
Rodrigo Q. Saramago
8ce9847652
Minor fix 2022-07-11 14:45:38 +02:00
Rodrigo Q. Saramago
727be9d333
Renaming variables 2022-07-11 14:25:45 +02:00
Rodrigo Q. Saramago
eda667cdcd
Add tests 2022-07-11 14:17:54 +02:00
Rodrigo Q. Saramago
4e69875311
Minor fix 2022-07-11 14:17:38 +02:00
Rodrigo Q. Saramago
1ae0bc1119
Implement merkle multiproof 2022-07-09 23:40:57 +02:00
smart_ex
3da67b29ed update lib es2020 2022-04-04 18:44:15 +10:00
Alexey Pertsev
73b4b68c9d
Merge pull request #3 from tornadocash/typescript
Migration to Typescript, add partial tree implementation
2022-04-04 10:32:36 +02:00
smart_ex
22e923c469 update Readme 2022-03-29 18:37:37 +10:00
smart_ex
ec56e449f7 update Readme 2022-03-29 18:36:05 +10:00
smart_ex
0efd9caee8 update Readme 2022-03-29 18:33:56 +10:00
smart_ex
a29aa84450 implement indexOf with fromIndex param 2022-03-28 18:21:32 +10:00
smart_ex
7d439740b1 fix deserialize method 2022-03-28 17:44:50 +10:00
smart_ex
cc33277ba1 more test. fix nullish alloc 2022-03-25 15:12:06 +10:00
smart_ex
c1c6972a4b fix partial tree path 2022-03-25 00:41:06 +10:00
Sergei SMART
1f02fd3f45 0.7.1 2022-03-14 20:20:28 +10:00
Sergei SMART
b92ee38355 0.7.1 2022-03-14 20:14:01 +10:00
Sergei SMART
2e65f7cac0 upload lib files 2022-03-14 19:42:36 +10:00
Sergei SMART
1f34fa69fa update tsconfig 2022-03-14 19:41:45 +10:00
Sergei SMART
d72b2b91be update tsc 2022-03-14 18:34:59 +10:00
Sergei SMART
3ddaca5ff5 update tsconfig.json 2022-03-14 18:01:12 +10:00
Sergei SMART
5cf73384dd update package.json 2022-03-14 17:21:38 +10:00
Sergei SMART
2a2dd204c0 code duplication reduced 2022-03-13 15:28:37 +10:00
Sergei SMART
d11c5c168a implementing getTreeSlices types 2022-03-13 14:45:13 +10:00
smart_ex
bc533ede2d check elements length in constructor 2022-03-11 15:37:20 +10:00
smart_ex
6df03ab139 fix tree slices order 2022-03-11 11:38:51 +10:00
smart_ex
e9f123a8b2 use mimc from circomlibjs 2022-03-11 00:12:55 +10:00
Sergei SMART
ad634a6b3a implementing getTreeSlices 2022-03-10 19:41:32 +10:00
Sergei SMART
8e2b0a2dbc implementing tree slicing 2022-03-10 18:29:31 +10:00
Sergei SMART
6439775e37 final buildHashes algorithm 2022-03-10 18:00:26 +10:00
Sergei SMART
623cef3da2 wip 2022-03-09 20:35:34 +10:00
Sergei SMART
1015f72954 test with timing, fix constructor 2022-03-09 20:00:00 +10:00
Sergei SMART
2dc7b4b5b3 wip 2022-03-09 16:25:49 +10:00
Sergei SMART
ed4e372c93 clean up 2022-03-02 15:13:27 +10:00
Sergei SMART
5ebbf81959 add shiftEdge method 2022-03-02 14:33:04 +10:00
Sergei SMART
e0817b8389 add proof leaf method 2022-03-02 13:22:54 +10:00
Sergei SMART
12f95d97ee added serialize / deserialize / proof / toString, coverage increase 2022-03-02 12:03:16 +10:00
Smart
fba9bab7a8 fix imports 2022-03-01 19:46:29 +10:00
Sergei SMART
6173676074 100% coverage of fixed tree 2022-03-01 16:02:45 +10:00
Sergei SMART
21e673a659 implementing features and cover it by tests 2022-03-01 15:33:46 +10:00
Sergei SMART
9536889468 add test coverage. more tests 2022-03-01 11:16:52 +10:00
Smart
95ac6e0f55 wip. 2022-02-28 17:00:28 +10:00
Smart
f2697487c8 add simpleHash function & tests, add coverage 2022-02-26 22:50:08 +10:00
Smart
744438ceba add simpleHash function & tests, add coverage 2022-02-26 22:50:08 +10:00
Sergei SMART
e6a1ce979c init partial tree 2022-02-26 19:13:09 +10:00
Sergei SMART
5f036748a9 remove deps, add simple hashFunction for example and tests. 2022-02-24 13:21:14 +10:00
Sergei SMART
107217f74d add getters 2022-02-22 20:41:26 +10:00
Sergei SMART
3d6356b596 add getTreeEdge method 2022-02-22 19:42:49 +10:00
Sergei SMART
4501cae4d6 initial typescript edit 2022-02-22 18:45:31 +10:00