Sample node implementation using LDK.
git clone [email protected]:lightningdevkit/ldk-sample.git
cd ldk-sample
cargo run <bitcoind-rpc-username>:<bitcoind-rpc-password>@<bitcoind-rpc-host>:<bitcoind-rpc-port> <ldk_storage_directory_path> [<ldk-peer-listening-port>] [bitcoin-network]
bitcoind
's RPC username and password likely can be found through cat ~/.bitcoin/.cookie
.
bitcoin-network
: defaults to testnet
. Options: testnet
, regtest
.
ldk-peer-listening-port
: defaults to 9735.
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.