open-index/open-npm huggingface dataset:
npm package: @polymathnetwork/confidential-identity
Description: The wasm library for confidential identity.
Latest version: 1.1.1

# WASM bindings for Confidential Identity Library


This library provides WASM binding for Confidential Identity Library.
The Rust code can be found at
[polymath CIL library][confidential-identity-rust-lib] and the source
code for the wasm bindings can be found at [WASM bindings][wasm-src].


## CDD Provider Usage

After importing the content of this package in your javascript project, you
can call the `process_create_cdd_id` function to create the CDD ID. The
documentation for this function can be found by running `cargo doc --open`
in the [Rust directory][confidential-identity-rust-lib].


## Investors' Usage

After importing the content of this package in your javascript project, you
can call the `process_create_claim_proof` function to create a
confidential proof for their claim. The documentation for this function
can be found by running `cargo doc --open`
in the [Rust directory][confidential-identity-rust-lib].


## Simple Claim Verifier

This is not supported since the verification is handled by PolyMesh.


## Build Instructions

For comprehensive build instructions, refer to the README.md file in the
root of the [repository][cryptography-rust-lib].

If you have all the necessary tools installed, you can build the wasm
bindings using the following commands.

```bash
# If your active toolchain is stable, then run
rustup run nightly wasm-pack build --release

# If your active toolchain is nightly, then you can use the simpler version and run
wasm-pack build --release
```

This will create the bindings in `./pkg/` directory. You can import
these into any javascript-based project using a wasm-loader.

## Publish

Note that the name in the `package.json` file will be "confidential-identity".
But, in order to properly publish the package, the name should be changed to
`@polymathnetwork/confidential-identity`.


[cryptography-rust-lib]: https://github.com/PolymathNetwork/cryptography/tree/master/README.md
[confidential-identity-rust-lib]: https://github.com/PolymathNetwork/cryptography/tree/master/confidential-identity
[confidential-identity-wasm-src]: https://github.com/PolymathNetwork/cryptography/blob/master/confidential-identity/wasm/src/lib.rs
npm package: @polymathnetwork/confidential-identity-nodejs
Description: The wasm library for confidential identity.
Latest version: 1.1.1

# WASM bindings for Confidential Identity Library


This library provides WASM binding for Confidential Identity Library.
The Rust code can be found at
[polymath CIL library][confidential-identity-rust-lib] and the source
code for the wasm bindings can be found at [WASM bindings][wasm-src].


## CDD Provider Usage

After importing the content of this package in your javascript project, you
can call the `process_create_cdd_id` function to create the CDD ID. The
documentation for this function can be found by running `cargo doc --open`
in the [Rust directory][confidential-identity-rust-lib].


## Investors' Usage

After importing the content of this package in your javascript project, you
can call the `process_create_claim_proof` function to create a
confidential proof for their claim. The documentation for this function
can be found by running `cargo doc --open`
in the [Rust directory][confidential-identity-rust-lib].


## Simple Claim Verifier

This is not supported since the verification is handled by PolyMesh.


## Build Instructions

For comprehensive build instructions, refer to the README.md file in the
root of the [repository][cryptography-rust-lib].

If you have all the necessary tools installed, you can build the wasm
bindings using the following commands.

```bash
# If your active toolchain is stable, then run
rustup run nightly wasm-pack build --release

# If your active toolchain is nightly, then you can use the simpler version and run
wasm-pack build --release
```

This will create the bindings in `./pkg/` directory. You can import
these into any javascript-based project using a wasm-loader.

## Publish

Note that the name in the `package.json` file will be "confidential-identity".
But, in order to properly publish the package, the name should be changed to
`@polymathnetwork/confidential-identity`.


[cryptography-rust-lib]: https://github.com/PolymathNetwork/cryptography/tree/master/README.md
[confidential-identity-rust-lib]: https://github.com/PolymathNetwork/cryptography/tree/master/confidential-identity
[confidential-identity-wasm-src]: https://github.com/PolymathNetwork/cryptography/blob/master/confidential-identity/wasm/src/lib.rs
npm package: @polymathnetwork/contract-artifacts
Description: Polymath smart contract compilation artifacts
Latest version: 3.1.0

![Polymath logo](Polymath.png)

## @polymathnetwork/contract-artifacts

Smart contract compilation artifacts for Polymath v3.1.0

## Installation

```bash
yarn add @polymathnetwork/contract-artifacts
```

**Import**

```typescript
import * as artifacts from "@polymathnetwork/contract-artifacts";
```

or

```javascript
var artifacts = require("@polymathnetwork/contract-artifacts");
```

## Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

### Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

```bash
yarn config set workspaces-experimental true
```

Then install dependencies

```bash
yarn install
```

### Zip artifacts

Python3.5 required

```bash
cd scripts
python3 abiReducer.py ../unzipArtifacts ../artifacts
```

### Build

To build this package run the following from root directory:

```bash
yarn build
```