1.0.0 • Published 3 years ago
coretroller v1.0.0
Coretroller
Commands for working with core-lightning node.
Install
- Requires an installation of Node v14.00+
npm install -g coretrollerRe-install if you want to update to a new version.
Get the version to verify that it's installed:
# current installed version
ctrl --versionSetup
Run the ctrl connect command and follow instructions to enter paths to certificates and gRPC port details.
Example setup:

- coretroller supports controlling multiple nodes.
- setting node name in above screenshot gives an alias name to use in commands.
- to specify a saved node while running commands, use the
--nodeflag. - setting a node as default will not require the
--nodeflag to run commands for that node. - if you have two nodes and you named them
coreln(default) andcoreln2, you can run commands like this:ctrl balance --node coreln2or justctrl balanceif you are controlling the default node.
Supported commands
# See onchain and offchain balances
ctrl balance
# Receive on-chain funds via a regular address
ctrl chain-deposit
# Connect to core-lightning
ctrl connect
# Tags can be used in other commands via tag and avoid options
ctrl tags