Iskander c4dc1bcdae refacotr: enhance halo2-eth-membership circuit (#517)
* chore: enhance @anonklub/halo2-eth-membership halo2 circuit

* chore: fmt

* chore: dprint fmt

* chore: some enhancements on the tests

* fix: mock merkle tree function

* fix: enhance tests
2024-09-12 10:21:08 +02:00
2024-07-15 14:35:51 +02:00
2024-08-27 15:47:39 +02:00
2024-08-30 17:01:36 +02:00
2024-08-27 15:56:54 +02:00
2024-08-27 15:47:39 +02:00
2024-08-27 15:56:54 +02:00
2024-08-27 15:56:54 +02:00
2024-08-30 17:01:36 +02:00
2023-08-09 12:44:24 +02:00
2024-08-28 10:35:16 +02:00
2024-09-10 13:03:57 +02:00
2024-08-30 17:01:36 +02:00

anonklub banner

Warning

This project has been sunset and isn't being actively worked on anymore. The previously deployed services (query API, UI, discord bot) have been shut down. So the corresponding links (anonklub.xyz, docs.anonklub.xyz, query.anonklub.xyz) in docs/README(s) won't work.

AnonKlub focuses on building applications that allow for secure and anonymous proof of membership. It does so by performing both ECDSA signatures and Merkle Tree inclusion verifications in a SNARK. It enables privacy applications such as anonymous airdrops, anonymous NFT minting, anonymous chat groups…

Github license
GitHub Workflow test Coveralls Badge
@anonklub/halo2-binary-merkle-tree npm badge @anonklub/halo2-binary-merkle-tree-worker npm badge
@anonklub/halo2-eth-membership npm badge @anonklub/halo2-eth-membership-worker npm badge
@anonklub/merkle-tree-wasm npm badge @anonklub/merkle-tree-worker npm badge
@anonklub/proof npm badge @anonklub/query npm badge
@anonklub/spartan-ecdsa-wasm npm badge @anonklub/spartan-ecdsa-worker npm badge
akli rust badge

Content Description Status
discord-bot Discord Verification Bot ✔️ (circom/snarkjs support only)
nullifier 📆 TO DO
pkgs/cli Rust CLI
pkgs/merkle-tree-wasm Merkle tree Rust crate & corresponding wasm TS package ✔️
pkgs/merkle-tree-worker Web worker wrapper of the @anonklub/merkle-tree-wasm wasm package ✔️
pkgs/spartan-ecdsa-wasm Spartan/Sapir circuits & corresponding wasm TS package. ✔️
pkgs/spartan-ecdsa-worker Web worker wrapper of the @anonklub/spartan wasm package ✔️
queries/crypto_ethereum Google bigquery-public-data.crypto_ethereum queries examples ✔️
queries/dune_analytics Dune Analytics queries examples ✔️
queries/the_graph The Graph queries examples ✔️
query-api Query API server ✔️
ui User Interface (fetch anonymity sets, generate or verify membership proofs) ✔️

Archive branches

Develop

TLDR

git clone https://github.com/anonklub/anonklub.git
cd anonklub
cp .envrc{.example,}
# edit .envrc
source .envrc
pnpm i
pnpm start.ui

Requirements

Environment

See .envrc.example.
Copy it in an .envrc file and source it.

cp .envrc{.example,}
# edit .envrc
source .envrc

Scripts

Check available scripts with pnpm run.
Especially, to start the ui or the query-api: pnpm start.ui or pnpm start.query-api.
Don't bother running build tasks explicitly beforehand: turbo takes care of topological dependencies between tasks.

Contribute

Description
No description provided
Readme AGPL-3.0 45 MiB
Languages
TypeScript 88.7%
Rust 10.6%
CSS 0.3%
Dockerfile 0.2%
JavaScript 0.1%