Skip to main content

Installation

info

If you don't have NPM token, please contact us at info@silencelaboratories.com.

Configure Your Package Manager

Configure your package manager with a private token provided by us to access the private registry.

  • Create a .yarnrc.yml file in the root of your project and add the following line:
npmScopes:
"silencelaboratories":
npmAlwaysAuth: true
npmRegistryServer: "https://registry.npmjs.org"
npmAuthToken: ${NPM_TOKEN}
  • Add the npm token as an environment variable, e.g., in a terminal session run:
export NPM_TOKEN=your-npm-token

Install the packages

Now you can install the Silent Shard SDK packages.

npm install @silencelaboratories/silent-shard-sdk @silencelaboratories/dkls-sdk @silencelaboratories/schnorr-sdk

To run on the iOS platform, install pods before running the application:

cd ios && pod install