coretroller

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i coretroller

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

179 kB

Total Files

35

Last publish

Collaborators

  • niteshbalusu