open-index/open-npm huggingface dataset:
npm package: @litentry/chaindata
Description: This library contains information about the available networks at Litentry, including its testnets.
Latest version: 0.3.0

# @litentry/chaindata

This library contains information about the available networks at Litentry, including its testnets.

## Installation

1. Install from NPM

   ```
   npm install @litentry/chaindata
   ```

2. Explore

   ```ts
   import { all, byId } from '@litentry/chaindata`;

   console.log(all);

   console.log(`Litentry's production RPC URL is: ${byId['litentry-prod'].rpcs[0].url}`);
   ```
npm package: @litentry/credential-definitions
Description: This library contains the credentials definitions of the IdentityHub.
Latest version: 0.0.1

# credential definitions

This library contains the credentials definitions of the IdentityHub.

A credential definition is a unique combination that results from Litentry Assertion with a fixed set of parameters. [Learn more](https://docs.litentry.com/parachain/client-sdks-documentation#verifiable-credential-vc).

This metadata is a representation of the information that can be found at [Credential Interface](https://docs.google.com/spreadsheets/d/1k2ZvrLK5v_KO_tsCWJVtjbs8TS8PzM_idWv64z4ynSI/). That document should be considered as the source of truth.

**Side note**
This library doesn't describe the format of the generated verifiable credentials; that is basically defined by the [VC data model](https://www.w3.org/TR/vc-data-model/). The code for reading these on our end is the topic of **Scores**; a detailed schema for each assertion type is yet to be specified but there are examples available on this [document](https://docs.google.com/spreadsheets/d/1k2ZvrLK5v_KO_tsCWJVtjbs8TS8PzM_idWv64z4ynSI/).

## Building

Run `nx build credentials` to build the library.

## Running unit tests

Run `nx test credentials` to execute the unit tests via [Jest](https://jestjs.io).