Get Bitcoin Cash node info with NodeWUI

0 22
Avatar for ClearSky
1 year ago

I've created a simple tool to fetch information of Bitcoin Cash node and similar software. I've used Python, Html and Javascript.

Supported Queries

Here are few of the supported quires. More could be added later:

  • getblockchaininfo

  • listtransactions

  • getbalance

  • getpeerinfo

  • getnewaddress

Installation

You can install the package from PyPi repository like this:

pip install nodewui

Usage

Run nodewui command specifying the location of bitcoin.conf file:

nodewui ~/.bitcoin/bitcoin.conf

Usage options

You can use enviroment variables to configure some options:

  • rpc_url: url to RPC (Default: "http://127.0.0.1")

  • network: could be usef for special requirements of network like testnet4 (eg: "bch_testnet4". Default: "127.0.0.1")

  • web_port: port of the web interface. Default: "8080"

  • listening_ip: ip to listen to (eg: "192.168.1.100" or "0.0.0.0". Default: "127.0.0.1")

The network option invoke special function that get port of testnet4 from special section of the configuration file as it seems it's required to have it's own section in testnet4. No need for network option for most other networks.

Example

listening_ip="192.168.1.250" network="bch_testnet4" web_rpc=8087 nodewui ~/.bitcoin/bitcoin.com

Screenshots

Author

Repository

https://gitlab.com/uak/nodewui/

License

AGPL-v3

2
$ 0.00
Avatar for ClearSky
1 year ago

Comments