Options
All
  • Public
  • Public/Protected
  • All
Menu

Getting Started

Developer Chat Apache 2.0 License Typescript Web


Getting Started

Requirements

  • Node 12.0 or above
  • (Optional, if using TypeScript) TypeScript 3.8 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