9 Commits

Author SHA1 Message Date
Sasha
891ee3474a
feat: keystore implementation (#70)
* add deps

* complete keystore, move code

* remove esling

* rename command

* rename export

* fix bug

* rollback example

* rollback example[2]

* improve compatibility with nwaku

* add packages

* update example

* add keystore.spec.ts

* up node, add whitelist words

* add types

* try break test

* add test

* add more tests

* add helper functions, update example, add tests

* fix types

* fix test

* add logs

* fix build of the object

* use different approach to catch errors

* run one test

* anotehr one

* fix validation error

* apply last fixes

* update example

* up

* ignroe generated files

* up

* up

* fix test

* test

* fix

* up

* add prettier ignore

* up

* fix lint

* up

* last
2023-10-14 02:21:35 +02:00
RichΛrd
7e93896538
feat: track roots in rln contract and use sepolia instead of goerli (#62) 2023-05-14 12:18:21 -04:00
RichΛrd
e52107dcf8
feat: use identity credentials, and expose hash, bulk insert and delete members functions (#58)
* feat: use identity credentials, and expose hash, bulk insert and delete members functions
* feat: merkle root tracker
2023-05-08 18:10:26 -04:00
Sasha
d77370fbec
Add RLN Contract abstraction (#43)
* implement rln contract abstraction, add basic tests, add usefull constants

* remove test command

* resolve simple comments

* move to getter for members, add init method

* fix naming

* remove default signature message

* use direct path to js file

* try different karma config

* try generic import

* update test

* address comments: rename const file, return prev regexp

* remove test

* bring back test file

* fix mock approach

* use any for type casting

* use another approach for typecasting

* update mocks

* update mocked event

* use correct value for mock

* fix spy definition

* add BigInt to MembershipKey

* fix joining

* use slice

* remove accidentally commited junk

* fix typo, use DataView for conversion, use BigInt directly

Co-authored-by: weboko <anon@mail.com>
2023-01-26 18:58:18 +01:00
Richard Ramos
3e5cb1d13c
fix: proof generation and validation 2022-10-04 16:46:55 +11:00
Richard Ramos
7752534855
feat: add spec for proof generation and verification (#14) 2022-09-24 11:00:40 -04:00
Richard Ramos
2cbbbf3690
chore: tests setup (#13) 2022-09-23 21:35:17 -04:00
Richard Ramos
1e83f0a70e fix: remove buffer usage and simplify epoch handling 2022-09-22 17:19:55 -04:00
Richard Ramos
24c6c8e3d7 feat: generate and validate proofs 2022-09-19 16:33:37 -04:00