Skip to content

A Node.js command-line interface for managing the bitcoin service `bitcoind`

License

Notifications You must be signed in to change notification settings

carnesen-archive/bitcoin-service-cli

Repository files navigation

@carnesen/bitcoin-service-cli Build Status

A command-line interface for managing the bitcoin service bitcoind

Install

npm install --global @carnesen/bitcoin-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-service-cli

Usage

$ bitcoin-service
Usage: bitcoin-service <subcommand> <options>

   Manage the bitcoin service `bitcoind`

Subcommands:

   restart, start, stop, status

Use the --help flag to get usage for a command:

$ bitcoin-service start --help
Usage: bitcoin-service start <options>

Options:

   [--configFilePath <str>] : Absolute path to a configuration file
   [--bitcoinHome <str>] : Path to a bitcoin software installation

The options bitcoinHome and configFilePath are described in more detail in @carnesen/bitcoin-service.

$ bitcoin-service start --bitcoinHome /usr/local/bitcoin-0.17.0
Bitcoin server starting

Related

License

MIT © Chris Arnesen

About

A Node.js command-line interface for managing the bitcoin service `bitcoind`

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published