Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

nuls-js

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.

install

npm i nuls-js

Downloadsweekly downloads

18

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability