coretroller
v1.0.0
Published
Commands for working with core-lightning node.
Downloads
20
Maintainers
Readme
Coretroller
Commands for working with core-lightning node.
Install
- Requires an installation of Node v14.00+
npm install -g coretroller
Re-install if you want to update to a new version.
Get the version to verify that it's installed:
# current installed version
ctrl --version
Setup
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
--node
flag. - setting a node as default will not require the
--node
flag 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 coreln2
or justctrl balance
if 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