Using npm:
$ npm i @digime/digime-sdk-nodejs
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.
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.
Generated using TypeDoc