bdim1 43b36a0cc4 feat: identities genSecret multipart secret updates & test updates
Former-commit-id: e9db24637dd178d62e6d3b429a6e64e15f6a185c [formerly fe2a676f38]
Former-commit-id: 3553d74896bfd3c4011d0b572dff467a960efe5f
2021-12-28 00:51:34 +01:00
2021-10-19 00:06:09 +02:00
2021-10-21 11:29:14 +02:00
2021-10-25 10:12:55 +02:00
2021-10-21 11:29:14 +02:00
2021-10-25 15:13:47 +02:00
2021-10-19 12:19:50 +02:00
2021-12-03 00:57:32 +01:00
2021-12-03 00:45:13 +01:00
2021-10-22 17:55:55 +02:00
2021-10-19 12:22:21 +02:00

Libsemaphore

A monorepo of JavaScript libraries for Semaphore.

Github license GitHub Workflow test Linter eslint Code style prettier Lerna

A library that allows for easy access and interoperability for Semaphore and RLN constructs. It is meant to be used by third-party applications to easily integrate with Seamphore and RLN. The library provides an API (Semaphore and RLN) for:

  • Identity generation
  • Proof generation
  • Proof verification

The library is structured as a three separate npm packages:

  • @libsem/identity: Exposes utilities for Zk identity generation, necessary for interacting with the Zk protocols supported by this library,
  • @libsem/protocols: Utilities for proof genration and verification for various Zk protocols,
  • @libsem/types: Helper package which exposes the types used by identity and protocols packages.

All the packages provide tests which can be used as a guide for interaction.


📦 Packages

Package Version Downloads Size
@libsem/identity NPM version Downloads npm bundle size (scoped)
@libsem/protocols NPM version Downloads npm bundle size (scoped)
@libsem/types NPM version Downloads

🛠 Install

Clone this repository and install the dependencies:

$ git clone https://github.com/appliedzkp/libsemaphore.git
$ cd libsemaphore && npm i

📜 Usage

$ npm run lint # Lint all packages.
$ 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.

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