Skip to content

feat(syncing): updated bdk_wallet to version 2.1.0 #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

cooparo
Copy link
Contributor

@cooparo cooparo commented Aug 14, 2025

Updated all syncing example to bdk_wallet 2.1.0 and latest clients version.

Updated
- `bdk_wallet` to version 2.1.0
- `bdk_bitcoind_rpc` to version 0.20.0
Updated
- `bdk_wallet` to version 2.1.0
- `bdk_electrum` to version 0.23.1
Updated:
- `bdk_wallet` to version 2.1.0
- `bdk_esplora` to version 0.22.1
Updated:
- `bdk_wallet` to version 2.1.0
- `bdk_tokio` to version 0.13.1
Copy link
Member

@thunderbiscuit thunderbiscuit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome stuff! Lots of good stuff here. I added one little comment on the use of testnet 3.

I have a few changes I'd like to see added to this PR. Can you also update the starter-example, descriptors, persistence-memory, persistence-sqlite, and recovery-phrases examples?

@@ -16,7 +16,7 @@ const INTERNAL_DESCRIPTOR: &str = "tr(tprv8ZgxMBicQKsPdrjwWCyXqqJ4YqcyG4DmKtjjsR

fn main() -> Result<(), Error> {
let mut wallet: Wallet = Wallet::create(EXTERNAL_DESCRIPTOR, INTERNAL_DESCRIPTOR)
.network(Network::Signet)
.network(Network::Testnet)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will keep using Signet for the examples if possible (if we used testnet it would be testnet 4 in any case).

But for this PR let's keep using Signet. You can hit the https://blockstream.info/signet/api/ esplora endpoint for this example.

@@ -28,7 +28,7 @@ fn main() -> Result<(), Error> {
//--8<-- [start:client]
// Create the Esplora client
let client: esplora_client::BlockingClient =
Builder::new("http://signet.bitcoindevkit.net").build_blocking();
Builder::new("https://blockstream.info/testnet/api/").build_blocking();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants