/nuls-js

Isomorphic JavaScript SDK for NULS blockchain.

Primary LanguageTypeScriptMIT LicenseMIT

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.