0.0.1 • Published 7 years ago
@carnesen/bitcoin-regtest-service-cli v0.0.1
@carnesen/bitcoin-regtest-service-cli

A Node.js command-line client for bitcoin's remote procedure call (RPC) interface
Install
npm install --global @carnesen/bitcoin-regtest-service-cliAlternatively, if you don't want to install the package you can run it as a one-off command using npx:
$ npx @carnesen/bitcoin-regtest-service-cliUsage
Use the --help flag to get command usage:
$ regtest-service --help
Usage: regtest-service <subcommand> <options>
Manage a regtest-mode bitcoin service
Subcommands:
restart, start, stop, statusThe start, stop, and restart commands indicate whether they've changed the state of the system, e.g. gone from stopped to started:
$ regtest-service start
Bitcoin server starting
{ changed: true }
$ regtest-service start
{ changed: false }More information
Check out the unit tests to see more examples of how it works. If you encounter any bugs or have any questions or feature requests, please don't hesitate to file an issue or submit a pull request on this project's repository on GitHub.
Related
- @carnesen/cli: A Node.js library for building command-line interfaces
- @carnesen/bitcoin-regtest-service: A Node.js library for managing a regtest-mode
bitcoindservice
License
MIT © Chris Arnesen