25 Commits

Author SHA1 Message Date
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
01ac9da9c6
v0.0.13 2022-12-09 09:42:43 -04:00
danisharora099
d41181fc92
upgrade zerokit and add support for generateSeededMembershipKey 2022-12-08 14:52:04 +05:30
Richard Ramos
2fc3116c12
v0.0.12 2022-10-07 16:12:23 -04:00
Richard Ramos
78f9e9b38f
feat: use verifyWithRoots for verifying proofs 2022-10-07 15:50:36 -04:00
Richard Ramos
3e5cb1d13c
fix: proof generation and validation 2022-10-04 16:46:55 +11:00
fryorcraken.eth
748f14cec9
fix: ensure proof is attached when decoding 2022-09-30 14:26:07 +10:00
fryorcraken.eth
50c30f1332
feat: decode epoch to int 2022-09-28 14:16:56 +10:00
fryorcraken.eth
ae9b3c1f9e
chore: add ci 2022-09-27 13:56:55 +10:00
Richard Ramos
b9269660c8
refactor: RateLimitProof 2022-09-26 17:53:49 -04:00
Richard Ramos
3ce01eaa10
feat: add spec and decoder 2022-09-26 12:08:28 -04:00
Richard Ramos
b1dbf16b35
feat: message encoder 2022-09-25 11:40:49 -04:00
Richard Ramos
29f09af131
feat: fetch resources and fix bundle (#15) 2022-09-24 13:59:13 -04: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
af3dc15d82
fix: use zerokit-rln-wasm and remove zerokit output files from project (#12) 2022-09-23 12:33:03 -04:00
fryorcraken.eth
28a20c6fa6
Release 0.0.4 2022-09-23 16:53:41 +10:00
fryorcraken.eth
cef3b22f0d
fix: include source files for source mapping 2022-09-23 16:42:35 +10:00
fryorcraken.eth
1a5dd6434d
Release 0.0.3 2022-09-23 16:36:49 +10: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
fryorcraken.eth
bb41119667 chore: run lint 2022-09-07 08:34:48 -04:00
fryorcraken.eth
d87a9a198a chore: fix github link 2022-09-07 08:34:48 -04:00
fryorcraken.eth
e9fa8d5d0a chore: fix name 2022-09-07 08:34:48 -04:00
Richard Ramos
15670c76f9 feat: typescript support 2022-09-07 08:34:48 -04:00