Skip to content

Commit

Permalink
add crate bdk_transaction
Browse files Browse the repository at this point in the history
Builds on bdk_wallet beta.4
  • Loading branch information
ValuedMammal committed Oct 4, 2024
1 parent ec7342d commit 49f7fe1
Show file tree
Hide file tree
Showing 20 changed files with 1,979 additions and 1,269 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"crates/wallet",
"crates/chain",
"crates/core",
"crates/transaction",
"crates/file_store",
"crates/electrum",
"crates/esplora",
Expand Down
2 changes: 1 addition & 1 deletion crates/chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ proptest = "1.2.0"

[features]
default = ["std", "miniscript"]
std = ["bitcoin/std", "miniscript?/std", "bdk_core/std"]
std = ["bitcoin/std", "bitcoin/rand-std", "miniscript?/std", "bdk_core/std"]
serde = ["dep:serde", "bitcoin/serde", "miniscript?/serde", "bdk_core/serde"]
hashbrown = ["bdk_core/hashbrown"]
rusqlite = ["std", "dep:rusqlite", "serde", "serde_json"]
22 changes: 22 additions & 0 deletions crates/transaction/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[package]
name = "bdk_transaction"
version = "0.1.0"
edition = "2021"


[dependencies]
bdk_chain = { path = "../chain", default-features = false }
bdk_coin_select = "0.3.0"
paste = "1.0.15"
rand_core = "0.6.4"

[features]
default = ["std", "serde", "bdk_chain/default"]
std = ["bdk_chain/std"]
serde = ["bdk_chain/serde"]

[dev-dependencies]
bdk_transaction = { path = ".", features = ["default"] }
rand = "0.8.0"
anyhow = "1"
bdk_wallet = { path = "../wallet" }
Loading

0 comments on commit 49f7fe1

Please sign in to comment.