nuls-js
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

NULS-JS Build Status npm version Coverage Status

Isomorphic JavaScript SDK for NULS blockchain.

Warning

This project is still in early development stages. It is strongly not recommended to use this in a production environment.

Install

$ npm i nuls-js

Usage

import NULS from 'nuls-js';
 
const account = NULS.account.create(); // Initiate a new account
 
console.log(account.address); // Nse1TYHc6Rxs84iimrnygSF2kqrUAQM6

Guide

https://CCC-NULS.github.io/nuls-js/

Documentation

https://CCC-NULS.github.io/nuls-js/typedoc/index.html

Features

Account Management

TODO

  • Read an address balance
  • Read node details
  • Read address transactions
    • Token transactions
    • Node joining/leaving
    • Node reward output/input
    • Red/yellow card transactions
  • Send a transaction
  • Find all consensus nodes
  • Find all nodes
  • Find richList/mostActive addresses
  • Recent transactions

License

See the LICENSE file for details.

Package Sidebar

Install

npm i nuls-js

Weekly Downloads

23

Version

1.1.0

License

MIT

Unpacked Size

6.81 MB

Total Files

95

Last publish

Collaborators

  • mechjosh0