mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
5ea5bcb0616e8f6bc48cb59ec5f8e83ec29ca4b9
Former-commit-id: 0843cf0650b16812a46e0d566fc2141e6b7de555 [formerly e53320e15e47c094358ab1ea717513bf33a2b5dd] [formerly fd0ccf48c069a8dda221a3b52a0fbeed25dd45a4 [formerly fd8eddd999]]
Former-commit-id: b3314a5801f06a64c7387527570319c67f22a48b [formerly 0f6f00eecd1dfee55b282ae52c2611f8cf294881]
Former-commit-id: 6b3247c900b257f54e0e9e8e0d854dc05389aae3
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%