Skip to main content

1Kosmos DevX SDK Documentation

The BlockID Developer SDK allows you to easily integrate BlockID services into your development platform. We currently support NodeJS, PHP, Java, and .NET.

Getting Started

In order to configure and use the SDK, you will need the following information from your BlockID Developer Dashboard:

  • Your Email Address
  • Your License Key
  • Tenant DNS
  • Community Name
  • IDVerify API Key(dvcId)

Install the BlockID SDK

To get started, install the BlockID SDK for your preferred development environment. The BlockID SDK contains all the necessary libraries and functions needed for secure communication between the BlockID API and user machines.

Install the BlockID SDK for NodeJS

tip

The NodeJS Helper SDK is designed to work with your server side environment

In your project directory, create or edit your package.json file to include the SDK as a dependency:

package.json
{
"name": "project",
"version": "0.0.0",
"private": true,
"dependencies": {
"blockid-nodejs-helpers": "git+https://github.com/1Kosmos/nodejs-helper-files#v2.0.05"
},
"description": "My project"
}

Next open a terminal, navigate to your project directory, and execute the following command to install the NodeJS SDK :

npm install
Note

After installation, the BlockID SDK can be found in the <project root>/node_modules/blockid-nodejs-helpers folder

If you would prefer to install the NodeJS and its dependencies yourself, the git repo can be found at https://github.com/1Kosmos/nodejs-helper-files