mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
6b6b8608bd56d2ebd6d8a31aef058e2ef26e0ddd
Former-commit-id: fab717648ed120f110a221b6d17e0641192e8788 [formerly 6f26d6d64d0ec5e067ac6f74309e94e83079a2d9] [formerly 9acda3774823a703ca2dcbb5b27bf844cbb5a91d [formerly 9b59a0e623]]
Former-commit-id: fbb60f801d94d0ddfb27edfbb07a165e0d2e8c8d [formerly db214e2e9b568725c5ba854324bf12dd9ae1a4e7]
Former-commit-id: 2032db41ce5c611abaf7d6648aa1a50486d3ce06
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%