From: rajarshimaitra Date: Thu, 7 Oct 2021 15:41:10 +0000 (+0530) Subject: Update README X-Git-Tag: v0.3.0~4 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.CommandStringError.html?a=commitdiff_plain;h=32a3a55aecfba4b1f988032ee71b47c1b226c4b6;p=bdk-cli Update README --- diff --git a/README.md b/README.md index cbb9d42..b0bfeb0 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ RUST_LOG=debug cargo run --features esplora-ureq -- wallet --descriptor "wpkh(tp ``` At most one blockchain feature can be enabled, available blockchain client features are: -`electrum`, `esplora-ureq` (blocking), `esplora-reqwest` (async), and `compact_filters`. +`electrum`, `esplora-ureq` (blocking), `esplora-reqwest` (async), `compact_filters` and `rpc`. ### From crates.io You can the install the binaries for the latest tag of `bdk-cli` with online wallet features @@ -52,6 +52,12 @@ To sync a wallet to the default electrum server: cargo run --features electrum -- wallet --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync ``` +To sync a wallet to Bitcoin Core node (assuming a regtest node at 127.0.0.1:18443) using the core rpc: + +```shell +cargo run --features rpc -- --network regtest wallet --node 127.0.0.1:18443 --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync +``` + To sync a wallet to Bitcoin Core node (assuming a regtest node at 127.0.0.1:18444) serving compact filters: Note: - This will increase build time by few minutes for the binaries because of `librocksdb`.