Skip to content
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

build(deps): update to bdk v.1.0.0 #23

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ 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 }

[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.
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<div align="center">
<h1>The Bitcoin Dev Kit: WebAssembly</h1>

<img src="./static/bdk.png" width="220" />

<p>
<strong>The Bitcoin Dev Kit for Browser and Node</strong>
<strong>The Bitcoin Dev Kit for Browsers and Node</strong>
</p>

<p>
<a href="https://www.npmjs.com/package/bitcoindevkit"><img alt="NPM Version" src="https://img.shields.io/npm/v/bitcoindevkit?color=red&logo=npm"/></a>
<a href=""><img alt="NPM Package" src="https://img.shields.io/crates/v/bdk_wallet.svg"/></a>
<a href="https://github.com/MetaMask/bdk-wasm/blob/master/LICENSE"><img alt="MIT or Apache-2.0 Licensed" src="https://img.shields.io/badge/license-MIT%2FApache--2.0-blue.svg"/></a>
<a href="https://blog.rust-lang.org/2022/08/11/Rust-1.73.0.html"><img alt="Rustc Version 1.63.0+" src="https://img.shields.io/badge/rustc-1.73.0%2B-lightgrey.svg"/></a>
<a href="https://coveralls.io/github/MetaMask/bdk-wasm?branch=main"><img src="https://coveralls.io/repos/github/MetaMask/bdk-wasm/badge.svg?branch=main"/></a>
<a href="https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html"><img alt="Rustc Version 1.63.0+" src="https://img.shields.io/badge/rustc-1.63.0%2B-lightgrey.svg"/></a>
<a href="https://discord.gg/d7NkDKm"><img alt="Chat on Discord" src="https://img.shields.io/discord/753336465005608961?logo=discord"></a>
</p>

Expand All @@ -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:

Expand All @@ -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
Expand Down
Loading