npm.io
0.0.27 • Published 4 years ago

niftron-client-sdk

Licence
MIT
Version
0.0.27
Deps
14
Size
471 kB
Vulns
28
Weekly
0

niftron-client-sdk

Niftron Client SDK allows users to integrate Niftron onto their web apps and start minting NFTs or all sorts.

Getting Started

Install the niftron sdk to your nodejs application.

npm install --save niftron-client-sdk

Configure SDK

Configure the Niftron sdk using your project key and dev console secret Key obtained from https://console.niftron.com/credentials.

import { NiftronConfig, NIFTRON } from "niftron-client-sdk";

const niftronConfig: NiftronConfig = {
  projectKey: "--------- Project Key -----------",
  secretKey: "--------- Secret Key -----------",
};

const niftron: NIFTRON = new NIFTRON(niftronConfig);

niftron.initialize()