15 Commits

Author SHA1 Message Date
Sasha
2ef4252411
add MetaMask abstraction, add default start to RLN Instance, expose RLN Contract 2024-01-23 23:00:52 +01:00
Sasha
5b9414aede
feat: update contract (#72)
* feat: update contract

* update ABI

* update contract and fix name of ABI

* update exports

* ignore constants

* fix tests

* update mock

* up mock

* add logs

* add mock
2023-10-17 11:26:17 +02:00
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
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