@stkon-js/core
TypeScript icon, indicating that this package has built-in type declarations

0.1.58 • Public • Published

@stkon-js/core

This package provides a collection of apis to interact with stkon blockchain.

Installation

npm install @stkon-js/core

Usage

Create a stkon instance connecting to testnet

const { stkon } = require('@stkon-js/core');
const {
  ChainID,
  ChainType,
  hexToNumber,
  numberToHex,
  fromWei,
  Units,
  Unit,
} = require('@stkon-js/utils');

const stk = new stkon(
    'https://api.s0.b.stkon.xyz/',
    {
        chainType: ChainType.stkon,
        chainId: ChainID.StkTestnet,
    },
);

Readme

Keywords

none

Package Sidebar

Install

npm i @stkon-js/core

Weekly Downloads

0

Version

0.1.58

License

MIT

Unpacked Size

843 kB

Total Files

47

Last publish

Collaborators

  • zennittians
  • chainnext