X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=README.md;h=5dda263e31da6b421623d87ebaa0c47e8e2a2876;hb=b4a50585c59e578b89c959ed01def10d9def1b39;hp=6358f4ff81e5cac1ce012d546bd7637983cbd8ab;hpb=70311fe79bc633c0abfd1c27abbc1d1c05cb1ecf;p=ldk-sample diff --git a/README.md b/README.md index 6358f4f..5dda263 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,25 @@ # ldk-sample -sample node implementation using LDK +Sample node implementation using LDK. + +## Installation +``` +git clone git@github.com:lightningdevkit/ldk-sample.git +``` + +## Usage +``` +cd ldk-sample +cargo run :@: [] [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 of +Licensed under either: * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) * MIT License ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)