CCC-NULS / nuls-js

Isomorphic JavaScript SDK for NULS blockchain.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Isomorphic JavaScript SDK for NULS blockchain.

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

License:MIT License


Languages

Language:TypeScript 98.1%Language:JavaScript 1.4%Language:Makefile 0.2%Language:Dockerfile 0.2%Language:Shell 0.1%