From b5bc6194be61bc9bce9f6fa907975a22693f3b8d Mon Sep 17 00:00:00 2001 From: Dario Anongba Varela Date: Tue, 7 Jan 2025 15:31:50 +0100 Subject: [PATCH] build(deps): update to bdk v.1.0.0 (#23) --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 8 ++++---- README.md | 13 ++++++++----- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5de2af0..5628ca1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -91,9 +91,9 @@ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "bdk_chain" -version = "0.21.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65db19f8952e6563c7c0ce38190b930ac57c02bb9f0da4f761e542639f99ed72" +checksum = "4955734f97b2baed3f36d16ae7c203fdde31ae85391ac44ee3cbcaf0886db5ce" dependencies = [ "bdk_core", "bitcoin", @@ -103,9 +103,9 @@ dependencies = [ [[package]] name = "bdk_core" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "070ff23e275c978ca19d137a2ae3516262400868a04228394710b270d958afc6" +checksum = "b545aea1efc090e4f71f1dd5468090d9f54c3de48002064c04895ef811fbe0b2" dependencies = [ "bitcoin", "hashbrown 0.14.5", @@ -114,9 +114,9 @@ dependencies = [ [[package]] name = "bdk_esplora" -version = "0.20.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca55db88aed9ef98828457b428b6173698bda55db7bd8c97493532bdcc3ae595" +checksum = "3d7fdf5efbebabc0c0bb46c0348ef0d4db505856c7d6c5d50cebba1e5eda5fe4" dependencies = [ "async-trait", "bdk_core", @@ -126,9 +126,9 @@ dependencies = [ [[package]] name = "bdk_wallet" -version = "1.0.0-beta.6" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35ea570993f0d1a486b0f9204f14abaf4601c26992982ac78157ef3eb0fb49ac" +checksum = "2c6362d350e13a94f68a102dafadbcc1500705016e4c2971b4c4e6f46054cb18" dependencies = [ "bdk_chain", "bip39", diff --git a/Cargo.toml b/Cargo.toml index 46978a8..91f3a86 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,13 +42,13 @@ ring = { version = "0.17.8", features = ["wasm32_unknown_unknown_js"] } gloo-timers = { version = "0.3.0", features = ["futures"] } # Bitcoin dependencies -bdk_wallet = { version = "1.0.0-beta.6" } -bdk_esplora = { version = "0.20", default-features = false, features = [ +bdk_wallet = { version = "1.0.0" } +bdk_esplora = { version = "0.20.1", default-features = false, features = [ "async-https", ], optional = true } bitcoin = { version = "0.32.5", default-features = false } miniscript = "12.3.0" -bdk_core = "0.4.0" +bdk_core = "0.4.1" # Debug dependencies console_error_panic_hook = { version = "0.1.7", optional = true } @@ -56,7 +56,7 @@ console_error_panic_hook = { version = "0.1.7", optional = true } [dev-dependencies] wasm-bindgen-test = "0.3.49" web-sys = { version = "0.3.76", features = ["console"] } -bdk_wallet = { version = "1.0.0-beta.6", features = ["keys-bip39"] } +bdk_wallet = { version = "1.0.0", features = ["keys-bip39"] } [profile.release] # Tell `rustc` to optimize for small code size. diff --git a/README.md b/README.md index cfbc503..8526863 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,17 @@

The Bitcoin Dev Kit: WebAssembly

+ +

- The Bitcoin Dev Kit for Browser and Node + The Bitcoin Dev Kit for Browsers and Node

- NPM Version + NPM Package MIT or Apache-2.0 Licensed - Rustc Version 1.63.0+ + + Rustc Version 1.63.0+ Chat on Discord

@@ -21,7 +24,7 @@ The `bdk-wasm` library aims at providing access to the excellent [BitcoinDevKit](https://github.com/bitcoindevkit/bdk) to JS and Node environments (and eventually any device supporting WebAssembly). It specializes in compiling BDK on the `wasm32-unknown-unknown` target and use [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) to create TypeScript bindings. -This repo handles the packaging and publishing of the `bitcoindevkit` NPM package, using `wasm-pack`. +This repo handles the packaging and publishing of the `bdk` NPM package, using `wasm-pack`. This library offers all the desired functionality to build a Bitcoin wallet out of the box: @@ -39,7 +42,7 @@ For a lightweight library providing stateless utility functions, see [`bitcoinjs ## Browser Usage ```sh -yarn add bitcoindevkit +yarn add bdk ``` ## Development Environment