2022-10-31 22:10:08 +09:00
2022-05-24 19:32:15 +02:00
2022-05-24 19:32:15 +02:00
2022-05-24 19:32:15 +02:00
2022-05-24 19:31:32 +02:00
2022-09-06 14:28:25 +02:00
2022-05-24 19:32:15 +02:00
2022-05-24 19:32:15 +02:00
2022-05-24 19:32:15 +02:00
2022-05-24 19:32:15 +02:00
2022-05-24 19:22:06 +02:00
2022-07-07 15:59:24 +02:00
2022-10-25 14:55:52 +02:00
2022-09-12 11:42:24 +09:00

Semaphore icon. ZK-Groups

Github license GitHub Workflow test GitHub Workflow style Coveralls Linter eslint Code style prettier

Groups are an important concept when we speak about privacy and zero knowledge technologies. They can be thought of as anonymity sets, and are a way to establish necessary trust between a set of participants while letting users keep control over how their identities are stored and used. Semaphore groups uses incremental binary Merkle trees, Poseidon hashes and Semaphore identity commitments as tree leaves. The goal of this project is to provide a comprehensive infrastructure to allow anyone to create their own groups.

🛠 Install

Clone this repository:

git clone https://github.com/semaphore-protocol/zk-groups.git

and install the dependencies:

cd zk-groups && yarn

📜 Usage

Starting applications

Run the following commands to start the applications:

yarn start:all # To start all the applications
yarn start <app-name> # For specific apps

Building applications

Run Webpack to build the applications:

yarn build:all
yarn build <app-name> # For specific apps

A dist folder will be created.

Testing

Run Jest to test the code with coverage:

yarn test:all
yarn test <app-name> # For specific apps

Code quality and formatting

Run ESLint to analyze the code and catch bugs:

yarn lint

Run Prettier to check formatting rules:

yarn prettier

or to automatically format the code:

yarn prettier:write

Conventional commits

Semaphore uses conventional commits. A command line utility to commit using the correct syntax can be used by running:

yarn commit

It will also automatically check that the modified files comply with ESLint and Prettier rules.

Description
No description provided
Readme MIT 21 MiB
Languages
TypeScript 99%
Dockerfile 0.5%
CSS 0.2%
HTML 0.2%