1.0.0 • Published 2 years ago

coretroller v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Coretroller

Commands for working with core-lightning node.

npm version

Install

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: Balanced Channel Open

  • 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) and coreln2, you can run commands like this: ctrl balance --node coreln2 or just ctrl 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