mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
ad0d17c47d98f6e11cf06fd9176eb5424babb9fc
Former-commit-id: 34ac48c9381e4da410ea15fdd54c821324d2ff1a [formerly 8bc8ac0a7d8de4abff74431d7eea8cd6b1bed0de] [formerly 92641047c8032ee09fc31c53bf2c58364eb9e8e4 [formerly 88bb4e4ea5]]
Former-commit-id: f19f234494ae27814b4c7639561827ea29abcd01 [formerly 5c961ece33b53cd2b114790efebb44ef3ab79958]
Former-commit-id: e59bcd0b6b93d400680823124694827e912396cf
ZK-kit
A monorepo of reusable JS libraries for zero-knowledge technologies.
ZK-kit is a set of NPM modules (algorithms or utility functions) that can be reused in different projects and zero-knowledge protocols, making it easier for developers to access ready-to-use and tested libraries for common tasks.
🟢 ZK-kit uses Conventional Commits (yarn commit).
📦 Packages
| Package | Version | Downloads | Size |
|---|---|---|---|
| @zk-kit/identity |
|
|
|
| @zk-kit/protocols |
|
|
|
| @zk-kit/incremental-merkle-tree |
|
|
|
| @zk-kit/sparse-merkle-tree |
|
|
|
🛠 Install
Clone this repository and install the dependencies:
$ git clone https://github.com/appliedzkp/zk-kit.git
$ cd zk-kit && yarn
📜 Usage
$ yarn lint # Syntax check with ESLint (yarn lint:fix to fix errors).
$ yarn prettier # Syntax check with Prettier (yarn prettier:fix to fix errors).
$ yarn commit # Interactive Commitizen commit.
$ yarn test # Test all packages (with common coverage).
$ yarn build # Create a JS build for each package.
$ yarn publish:fp # Publish packages on npm.
You can see the other npm scripts in the package.json file.
Languages
TypeScript
95.5%
TeX
4.4%