You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
# bdk-bitcoind-client
2
2
3
-
A minimal, experimental Bitcoin Core RPC client designed specifically for the Bitcoin Dev Kit (BDK). Unlike generic RPC wrappers,
4
-
`bdk-bitcoind-client` focuses on high-performance data emission and strict type safety, with built-in support for multiple Bitcoin
5
-
Core versions (v28.0 through v30.0+).
3
+
A minimal Bitcoin Core RPC client designed specifically for the Bitcoin Dev Kit (BDK). It retrieves blockchain data from `bitcoind` over JSON-RPC and supports multiple versions of Bitcoin Core (v28.0 through v30.0+).
6
4
7
5
### Features
8
6
@@ -14,17 +12,17 @@ Core versions (v28.0 through v30.0+).
14
12
### Installation
15
13
16
14
Add this to your `Cargo.toml`:
17
-
```
18
-
// For the latest Bitcoin Core (v30.0+)
15
+
```toml
16
+
# For the latest Bitcoin Core (v30.0+)
19
17
bdk-bitcoind-client = { version = "0.1.0" }
20
18
21
-
// OR for older nodes (e.g., v28.x)
19
+
# OR for older nodes (e.g., v28.x)
22
20
bdk-bitcoind-client = { version = "0.1.0", default-features = false, features = ["28_0"] }
23
21
```
24
22
25
23
### Quick Start
26
24
27
-
```
25
+
```rust
28
26
usebdk_bitcoind_client::{Auth, Client};
29
27
usestd::path::PathBuf;
30
28
fnmain() ->anyhow::Result<()> {
@@ -55,7 +53,7 @@ Bitcoin Core often changes its JSON-RPC response fields (e.g., adding the target
0 commit comments