pakt-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.41 • Public • Published

Alt PAKT

PAKT

Npm package version Npm package monthly downloads Latest release Npm package license

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

⚠️ 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

Readme

Keywords

Package Sidebar

Install

npm i pakt-sdk

Weekly Downloads

17

Version

0.1.41

License

BSD-3

Unpacked Size

84 kB

Total Files

5

Last publish

Collaborators

  • beardkoda1
  • boltannical
  • gabriel_babajide
  • yinkaa
  • bjpakt