digibyte-rpc

1.0.7 • Public • Published

digibyte-rpc

Installation

npm install digibyte-rpc

Usage

const DigiByteRPC=require('digibyte-rpc');
let dgbWallet=new DigiByte('username','password','localhost',14022);
let height=dgbWallet.getBlockCount();  //or any command on https://developer.bitcoin.org/reference/rpc/index.html
console.log(height);

Issues

Unfortunately there is a known issue that username and password cannot contain any special characters like % or $ this seems to be a limitation with nodejs, and the got library.

Readme

Keywords

none

Package Sidebar

Install

npm i digibyte-rpc

Weekly Downloads

4

Version

1.0.7

License

MIT

Unpacked Size

25.2 kB

Total Files

5

Last publish

Collaborators

  • mctrivia