Catalog npm
PACKAGE EXPLORERView in registry

@0xpolygonid/js-sdk

npm

SDK to work with Polygon ID

Versions collected153
Direct dependencies41From release 1.46.1
Last observed21 Oct, 09:31 UTC

README

Current package documentation

Privado ID JS SDK

SDK to work with Privado ID using JavaScript and TypeScript languages.

Usage

Installation:

npm install @0xpolygonid/js-sdk

Circuits

And place actual circuits to test/proofs/testdata

curl -LO https://circuits.privado.id/latest.zip

Tests

Run unit tests:

npm run test

Note: mtp / sig / auth / rhs files contain integration tests!

To run them, please set following variables:

export WALLET_KEY="...key in hex format"
export RPC_URL="...url to network rpc node"
export RHS_URL="..reverse hash service url"
export IPFS_URL="url for ipfs"
export STATE_CONTRACT_ADDRESS="state contract address"
export RHS_CONTRACT_ADDRESS="reverse hash service contract address"

Examples

Please see examples for visit examples information.

Documentation

Generate documentation

  1. Define path where documentation repository is located, for example:

        const DOCS_DIR = '../js-sdk-tutorials/docs/api';
    
  2.      npm run tsc:declaration:watch
    
  3.      npm run doc:watch:website
    

Documentation can be found here

License

js-sdk is part of the 0xPolygonID project copyright 2024 ZKID Labs AG

This project is licensed under either of

at your option.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 153

Collected releases
VersionPublishedDirect dependenciesOpen version
1.46.1Registry latest25 Sept 202641
1.45.017 Jun 202641
1.44.02 Jun 202641
1.43.018 Mar 202641
1.42.14 Mar 202641
1.42.02 Mar 202641
1.41.327 Feb 202641
1.41.226 Feb 202641
1.41.126 Feb 202641
1.41.025 Feb 202641
1.40.423 Feb 202641
1.40.318 Feb 202641
1.40.217 Feb 202641
1.40.111 Feb 202641
1.40.011 Feb 202641
1.39.426 Jan 202641
1.39.323 Jan 202641
1.39.221 Jan 202641
1.39.020 Jan 202641
1.38.830 Dec 202541

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xpolygonid/js-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:28 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:c1eeafcb2c690dad9d489df407886554178acae5b323752f0b28d554bff5d140