use bdk::electrum_client::Client;
use bdk::wallet::AddressIndex::New;
+use bitcoin::base64;
use bitcoin::consensus::serialize;
fn main() -> Result<(), bdk::Error> {
```rust,no_run
use bdk::{Wallet, SignOptions, database::MemoryDatabase};
+use bitcoin::base64;
use bitcoin::consensus::deserialize;
fn main() -> Result<(), bdk::Error> {
### Unit testing
-```
+```bash
cargo test
```
Integration testing require testing features, for example:
-```
+```bash
cargo test --features test-electrum
```
// You may not use this file except in accordance with one or both of these
// licenses.
-#[doc(include = "../README.md")]
+#[doc = include_str!("../README.md")]
#[cfg(doctest)]
pub struct ReadmeDoctests;