Skip to content

Commit 4966e30

Browse files
Merge pull request #19 from BitGo/BTC-2652.add-cli
feat(wasm-utxo): isolate WASM bindings and add CLI tool
2 parents 614d0d5 + 7270c95 commit 4966e30

38 files changed

+3528
-361
lines changed

packages/wasm-utxo/Cargo.lock

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

packages/wasm-utxo/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
[workspace]
2+
members = [".", "cli"]
3+
resolver = "2"
4+
15
[package]
26
name = "wasm-utxo"
37
version = "0.1.0"
48
edition = "2021"
59

610
[lib]
7-
crate-type = ["cdylib"]
11+
crate-type = ["cdylib", "rlib"]
812

913
[lints.clippy]
1014
all = "warn"

packages/wasm-utxo/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ This project is the successor of the Javascript `utxo-lib` package.
55
It provides WASM bindings for the `rust-bitcoin` and `rust-miniscript` crates
66
that help verify and co-sign transactions built by the BitGo Wallet Platform API.
77

8+
## Documentation
9+
10+
- **[`src/wasm-bindgen.md`](src/wasm-bindgen.md)** - Guide for creating WASM bindings using the namespace pattern
11+
- **[`js/README.md`](js/README.md)** - TypeScript wrapper layer architecture and best practices
12+
- **[`cli/README.md`](cli/README.md)** - Command-line interface for address and PSBT operations
13+
814
## Status
915

1016
This project is under active development.

0 commit comments

Comments
 (0)