This package has been deprecated

Author message:

This project has been abandoned

@carnesen/bitcoin-regtest-service-cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@carnesen/bitcoin-regtest-service-cli npm version Build Status

A Node.js command-line client for bitcoin's remote procedure call (RPC) interface

Install

npm install --global @carnesen/bitcoin-regtest-service-cli

Alternatively, 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-cli

Usage

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, status

The 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

License

MIT © Chris Arnesen

Package Sidebar

Install

npm i @carnesen/bitcoin-regtest-service-cli

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

14.4 kB

Total Files

13

Last publish

Collaborators

  • carnesen