pakt-sdk
v0.1.41
Published
The PAKT SDK is an advanced software development kit, purpose-built for web applications, that empowers developers to construct innovative products on the PAKT Operating System.
Downloads
60
Readme
PAKT
PAKT SDK is a modern software development kit, built for NodeJs.
Installation
To install PAKT SDK, simply
npm install pakt-sdk
yarn add pakt-sdk
:warning: Ensure you are registered on www.pakt.world, with a paid and activated chainsite.
Initialization
See below the code block for initialization
//Typescript
import PaktSDK from "pakt-sdk";
const apiKey = config.PAKT_SDK_API_KEY;
const configData: PaktConfig = {
token: apiKey,
verbose: true,
};
const sdkInit = await PaktSDK.init(configData);
//Javascript
const PaktSDK = require("pakt-sdk");
const apiKey = config.PAKT_SDK_API_KEY;
const configData = {
token: apiKey,
verbose: true,
};
const sdkInit = await PaktSDK.init(configData);
The above code initializes the PAKT SDK and ensures the API KEY is generated on www.pakt.world.
If you want to learn how to use the PAKT SDK, visit this link for the documentation & guide.
Example
Explore our example project which effectively demonstrates the practical application of our SDK: Sample Project