From 32a3a55aecfba4b1f988032ee71b47c1b226c4b6 Mon Sep 17 00:00:00 2001 From: rajarshimaitra Date: Thu, 7 Oct 2021 21:11:10 +0530 Subject: [PATCH] Update README --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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`. -- 2.49.0