2015-08-31 06:00:00 -07:00
# Scaffold
2015-10-19 10:59:58 -07:00
A collection of functions for creating, managing, starting, stopping and interacting with a Bitcore node.
2015-08-31 06:00:00 -07:00
2015-10-17 05:15:25 -07:00
## Install
2015-08-31 06:00:00 -07:00
This function will add a service to a node by installing the necessary dependencies and modifying the `bitcore-node.json` configuration.
## Start
This function will load a configuration file `bitcore-node.json` and instantiate and start a node based on the configuration.
## Find Config
This function will recursively find a configuration `bitcore-node.json` file in parent directories and return the result.
## Default Config
2015-12-08 12:38:16 -08:00
This function will return a default configuration with the default services based on environment variables, and will default to using the standard `/home/user/.bitcoin` data directory.
2015-08-31 06:00:00 -07:00
2015-10-17 05:15:25 -07:00
## Uninstall
2015-08-31 06:00:00 -07:00
This function will remove a service from a node by uninstalling the necessary dependencies and modifying the `bitcore-node.json` configuration.
## Call Method
This function will call an API method on a node via the JSON-RPC interface.