mirror of
https://github.com/privacy-scaling-explorations/zk-kit.git
synced 2026-04-22 03:00:15 -04:00
d95b28845aea0ce6626a6b26f3fa4584e91e30b4
Former-commit-id: e52471a7b23778e4b341dda254343928f5092dff [formerly 3891a6f28074ea47a0d47f781833b912f870d3f7] [formerly a86b4235b57025ea70059cd60565be40646cab7a [formerly 83cb493770]]
Former-commit-id: 1126a86499cc6b7a31e97e0e48ca2c1fd2a931d9 [formerly 3d5b162db8d0ec349eadbea5305566ecbca50acb]
Former-commit-id: ae14b2812b31819d79854931719d0a5622b7f8ff
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.
📦 Packages
| Package | Version | Downloads | Size |
|---|---|---|---|
| @zk-kit/identity |
|
|
|
| @zk-kit/protocols |
|
|
|
| @zk-kit/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 && npm i
📜 Usage
$ npm run lint # Syntax check with ESLint (npm run lint:fix to fix errors).
$ npm run prettier # Syntax check with Prettier (npm run prettier:fix to fix errors).
$ npm run commit # Interactive Commitizen commit.
$ npm run test # Test all packages (with common coverage).
$ npm run build # Create a JS build for each package.
$ npm run 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%