UNPKG

cryptorescuecore-node

Version:

Full node with extended capabilities using cryptorescuecore and CryptoRescue

21 lines (14 loc) 1.04 kB
# Scaffold A collection of functions for creating, managing, starting, stopping and interacting with a CryptoRescueCore node. ## Install This function will add a service to a node by installing the necessary dependencies and modifying the `cryptorescuecore-node.json` configuration. ## Start This function will load a configuration file `cryptorescuecore-node.json` and instantiate and start a node based on the configuration. ## Find Config This function will recursively find a configuration `cryptorescuecore-node.json` file in parent directories and return the result. ## Default Config This function will return a default configuration with the default services based on environment variables, and will default to using the standard `/home/user/.cryptorescue` data directory. ## Uninstall This function will remove a service from a node by uninstalling the necessary dependencies and modifying the `cryptorescuecore-node.json` configuration. ## Call Method This function will call an API method on a node via the JSON-RPC interface.