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
$ git clone https://github.com/enigbe/LN-Node
$ cd LN-Node
- Start the LDK node
$ ./lnnode.sh
- Switch to another terminal and run commands with the CLI
$ cargo run --bin lnnode-cli help
- 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
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.