All apps/Core Lightning

Core Lightning

core-lightning

Lightning Network implementation focusing on spec compliance and performance

Runs as lightningd, lightning-cli, lightning-hsmtool|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 8 fields

Send one RPC command to a running lightningd, such as getinfo or listpeers. Only lightning-cli is covered; lightningd and lightning-hsmtool are not.

Opens the form; the finished command lands at your prompt, unrun
otty gui core-lightning
Call lightning-cliExample values, fixed in this page — nothing here reaches a terminal
Basic
RPC command set by task
getinfostring
Network
string
Advanced
Lightning directory
directory
Human-readable output
--human-readable
TasksEach one presets the form for one job
Node info
commandlightning_dirnetworkhuman_readable
Call any command
commandargskeywordslightning_dirnetwork
ParametersOnly these flags are editable in the form
RPC command
For example getinfo, listpeers, listfunds or help.
string · positional 0
getinfolistpeerslistfundshelp
Command arguments
Positional values, or key=value pairs when Keyword parameters is on.
string · positional 1 · repeatable
Lightning directory
path
--lightning-dir
Network
string
--networkbitcointestnetsignetregtest
RPC socket file
path
--rpc-file
Keyword parameters
Pass arguments as key=value in any order.
boolean
--keywords-k
Human-readable output
boolean
--human-readable-H
Raw JSON output
boolean
--raw-R
SourcesEvery flag above is checked against these
man
lightning-cli [OPTIONS] command * --lightning-dir=DIR Set the directory for the lightning daemon we're talking to; defaults to $HOME/.lightning. * --network=network * --mainnet * --testnet * --signet * --regtest Sets network explicitly. * --rpc-file=FILE * --keywords/-k Use format key=value for parameters in any order * --json/-J * --raw/-R * --human-r…
manual2026-10-27

github.com

Before it fills your prompt, Otty checks the installed lightningd against its version. A form that does not match your version is not offered.