Sample lightning node command-line app built on top of LDK Node (similar to how ldk-sample is built on top of LDK).
git clone https://github.com/optout21/ldk-node-sample
cd ldk-node-sample
cargo run [<datadir>] [--port <listening_port>] [--network <network>|--testnet|--mainnet] [--esplora <esplora_url>] [--rgs <rgs_url>] [--log <log_level>]
datadir is a subfolder for keeping state, defaults to datadir
listening_port: defaults to 9735.
network: default is testnet, one of: testnet, mainnet, signet.
esplora_url: The URL of the Esplora server to use as chain info. Sample values: 'https://blockstream.info/testnet/api', 'https://mempool.space/api', 'https://mutinynet.com/api/'.
rgs_url: The URL of the RGS (Rapid Gossip Server), optional. Default: 'https://rapidsync.lightningdevkit.org/{network}/snapshot'.
log_level: Logging level, one of: none, error, warn, info, debug, trace.
``
For the interactive commands, type help.
Licensed under either:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.