Skip to content

Commit 91b4ad1

Browse files
committed
bitcoindevkit
1 parent fc59b8b commit 91b4ad1

File tree

6 files changed

+36
-38
lines changed

6 files changed

+36
-38
lines changed

Cargo.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
[package]
2-
name = "bdk"
2+
name = "bitcoindevkit"
33
version = "0.1.1"
44
repository = "https://github.com/MetaMask/bdk-wasm"
5-
description = "A modern, lightweight, descriptor-based wallet library for WASM and JS/TS"
5+
description = "A modern, lightweight, descriptor-based wallet library in WebAssembly for browsers and Node"
66
keywords = [
77
"bitcoin",
88
"wallet",
99
"descriptor",
1010
"psbt",
1111
"wasm",
12-
"js",
13-
"typescript",
12+
"bitcoindevkit",
1413
"bdk",
1514
"browser",
1615
"node",

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@
44
<img src="./static/bdk.png" width="220" />
55

66
<p>
7-
<strong>The Bitcoin Dev Kit for Browsers and Node</strong>
7+
<strong>The Bitcoin Dev Kit for Browser and Node</strong>
88
</p>
99

1010
<p>
11-
<a href="https://www.npmjs.com/package/bdk"><img alt="NPM Version" src="https://img.shields.io/npm/v/bdk?color=red&logo=npm"/></a>
11+
<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>
1212
<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>
13-
<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>
14-
<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>
13+
<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>
1514
<a href="https://discord.gg/d7NkDKm"><img alt="Chat on Discord" src="https://img.shields.io/discord/753336465005608961?logo=discord"></a>
1615
</p>
1716

@@ -24,7 +23,7 @@
2423
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).
2524
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.
2625

27-
This repo handles the packaging and publishing of the `bdk` NPM package, using `wasm-pack`.
26+
This repo handles the packaging and publishing of the `bitcoindevkit` NPM package, using `wasm-pack`.
2827

2928
This library offers all the desired functionality to build a Bitcoin wallet out of the box:
3029

@@ -42,7 +41,7 @@ For a lightweight library providing stateless utility functions, see [`bitcoinjs
4241
## Browser Usage
4342

4443
```sh
45-
yarn add bdk
44+
yarn add bitcoindevkit
4645
```
4746

4847
## Development Environment

tests/esplora.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
extern crate wasm_bindgen_test;
66

7-
use bdk::{
7+
use bitcoindevkit::{
88
bitcoin::{EsploraClient, Wallet},
99
set_panic_hook,
1010
types::{DescriptorPair, KeychainKind, Network},

tests/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
extern crate wasm_bindgen_test;
66

7-
use bdk::{
7+
use bdk_wallet::bip39::Mnemonic;
8+
use bitcoindevkit::{
89
seed_to_descriptor, seed_to_xpriv, set_panic_hook,
910
types::{AddressType, Network},
1011
xpriv_to_descriptor, xpub_to_descriptor,
1112
};
12-
use bdk_wallet::bip39::Mnemonic;
1313
use wasm_bindgen_test::*;
1414

1515
wasm_bindgen_test_configure!(run_in_browser);

tests/wallet.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44

55
extern crate wasm_bindgen_test;
66

7-
use bdk::{
7+
use bdk_wallet::bip39::Mnemonic;
8+
use bitcoindevkit::{
89
bitcoin::Wallet,
910
seed_to_descriptor, set_panic_hook,
1011
types::{AddressType, ChangeSet, KeychainKind, Network},
1112
};
12-
use bdk_wallet::bip39::Mnemonic;
1313
use wasm_bindgen_test::*;
1414

1515
wasm_bindgen_test_configure!(run_in_browser);

0 commit comments

Comments
 (0)