Skip to content

Commit 32a3a55

Browse files
Update README
1 parent d58541d commit 32a3a55

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUST_LOG=debug cargo run --features esplora-ureq -- wallet --descriptor "wpkh(tp
2828
```
2929

3030
At most one blockchain feature can be enabled, available blockchain client features are:
31-
`electrum`, `esplora-ureq` (blocking), `esplora-reqwest` (async), and `compact_filters`.
31+
`electrum`, `esplora-ureq` (blocking), `esplora-reqwest` (async), `compact_filters` and `rpc`.
3232

3333
### From crates.io
3434
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:
5252
cargo run --features electrum -- wallet --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync
5353
```
5454

55+
To sync a wallet to Bitcoin Core node (assuming a regtest node at 127.0.0.1:18443) using the core rpc:
56+
57+
```shell
58+
cargo run --features rpc -- --network regtest wallet --node 127.0.0.1:18443 --descriptor "wpkh(tpubEBr4i6yk5nf5DAaJpsi9N2pPYBeJ7fZ5Z9rmN4977iYLCGco1VyjB9tvvuvYtfZzjD5A8igzgw3HeWeeKFmanHYqksqZXYXGsw5zjnj7KM9/*)" sync
59+
```
60+
5561
To sync a wallet to Bitcoin Core node (assuming a regtest node at 127.0.0.1:18444) serving compact filters:
5662
Note:
5763
- This will increase build time by few minutes for the binaries because of `librocksdb`.

0 commit comments

Comments
 (0)