Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

CCC-NULS/nuls-js

Repository files navigation

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.