/LN-Node

LN-Node: Sample lightning network node with CLI and bitcoind as block source

Primary LanguageRustApache License 2.0Apache-2.0

LN-Node

Re-architecting the LDK's sample node implementation to have a separate CLI binary and actix-web server. LN-Node's is a lightning node with a separate CLI binary that should work akin to LND and its command line interface tool lncli

Architecture

Installation

$ git clone https://github.com/enigbe/LN-Node
$ cd LN-Node

Usage

  1. Start the LDK node
$ ./lnnode.sh
  1. Switch to another terminal and run commands with the CLI
$ cargo run --bin lnnode-cli help
  1. You can also test with a REST client. I have attached a JSON file of the API environment containing all endpoints. Import the insomnia_rest_api.json file into your Insomnia

License

Licensed under either:

at your option.