2022-01-19 22:34:28 +01:00
2022-01-18 18:51:00 +01:00
2021-10-19 00:06:09 +02:00
2022-01-18 22:16:33 +01:00
2022-01-17 10:27:50 +01:00
2022-01-19 15:25:21 +01:00

🧰 ZK-kit

A monorepo of reusable JS libraries for zero-knowledge technologies.

Github license GitHub Workflow test Linter eslint Code style prettier Lerna

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.

♚ Simplified package management with Lerna (yarn, yarn build, yarn publish:fp)
Conventional Commits for adding human and machine readable meaning to commit messages (yarn commit)
Jest tests & common test coverage for all packages (yarn test)
ESLint & Prettier to keep the code neat and well organized (yarn prettier & yarn lint)
♝ Simple benchmarking framework for JavaScript/TypeScript libraries with Benny (yarn benchmark)


📦 Packages

Package Version Downloads Size
@zk-kit/identity NPM version Downloads npm bundle size (scoped)
@zk-kit/protocols NPM version Downloads npm bundle size (scoped)
@zk-kit/incremental-merkle-tree NPM version Downloads npm bundle size (scoped)
@zk-kit/sparse-merkle-tree NPM version Downloads npm bundle size (scoped)

🛠 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.

Description
No description provided
Readme MIT 49 MiB
Languages
TypeScript 95.5%
TeX 4.4%