11 Commits

Author SHA1 Message Date
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
fryorcraken.eth
84803d77e5
refactor: more appropriate name 2022-09-28 13:54:08 +10:00
fryorcraken.eth
a11f65f1b7
fix: export encoder/decoder 2022-09-27 23:31:09 +10:00
fryorcraken.eth
462b6e5ccf
fix: export MembershipKey class 2022-09-27 22:47:55 +10:00
Richard Ramos
b9269660c8
refactor: RateLimitProof 2022-09-26 17:53:49 -04:00
Richard Ramos
2cbbbf3690
chore: tests setup (#13) 2022-09-23 21:35:17 -04:00
fryorcraken.eth
134ae1de45
fix: export types 2022-09-23 16:36:17 +10:00
Richard Ramos
24c6c8e3d7 feat: generate and validate proofs 2022-09-19 16:33:37 -04:00
fryorcraken.eth
bb41119667 chore: run lint 2022-09-07 08:34:48 -04:00
Richard Ramos
15670c76f9 feat: typescript support 2022-09-07 08:34:48 -04:00