Andrija Novakovic bea1e27334 Merge pull request #10 from appliedzkp/fix/identity_ts_config_update
fix: identity tsconfig update
Former-commit-id: 0fe521f8614ad21d0db268a0bcd5cea0e7ebbee8 [formerly 1098b7372f01dd5bd8eb739775d1c870568d3ebb] [formerly 18e7fca005395f8ebb84d7a38259519ebf66b956 [formerly cbe055e82b]]
Former-commit-id: 63b713fe64ac261dea6cb76b1291d009af2654c0 [formerly 68e5b31b03fc05091b4b8ed5c2a02793a6eba533]
Former-commit-id: af751e0ffabccd51305fe121ef02bdddb16b3654
2022-01-04 01:04:05 +01:00
2022-01-04 00:45:40 +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%