Developer Chat Apache 2.0 License Typescript Web


Requirements

  • Node 18.0 or above
  • (Optional, if using TypeScript) TypeScript 4.0 or above

Installation

Using npm:

$ npm i @digime/digime-sdk-nodejs

Obtaining your Contract ID, Application ID & Private Key

To access the digi.me platform, you need to obtain an AppID for your application. You can get yours by filling out the registration form here.

In a production environment, you will also be required to obtain your own Contract ID and Private Key from digi.me support. However, for demo purposes, we provide example values. You can find example keys in our example application.

Initializing the SDK

Once you have the above, we can initiate the SDK.

import { init } from "@digime/digime-sdk-nodejs";

const digimeSDK = init({ applicationId: <my-unique-application-id> });

To see all the other options when initializing the SDK, please take a look here.

Using the SDK

Generated using TypeDoc