Skip to content

Allows easy access to DigiByte, Bitcoin, ect wallets

License

Notifications You must be signed in to change notification settings

digiassetX/digibyte-rpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Allows easy access to DigiByte, Bitcoin, ect wallets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published