Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 798 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 798 Bytes

ldk-sample

Sample node implementation using LDK.

Installation

git clone git@github.com:lightningdevkit/ldk-sample.git

Usage

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.

License

Licensed under either:

at your option.