Skip to content

Commit

Permalink
WIP: implement indexed_tx_graph_example_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
danielabrozzoni committed Apr 11, 2023
1 parent 67d76ee commit 9b6b1d3
Show file tree
Hide file tree
Showing 5 changed files with 728 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ members = [
"example-crates/keychain_tracker_electrum",
"example-crates/keychain_tracker_esplora",
"example-crates/keychain_tracker_example_cli",
"example-crates/indexed_tx_graph_example_cli",
"example-crates/wallet_electrum",
"example-crates/wallet_esplora",
"example-crates/wallet_esplora_async",
Expand Down
1 change: 1 addition & 0 deletions example-crates/indexed_tx_graph_example_cli/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
16 changes: 16 additions & 0 deletions example-crates/indexed_tx_graph_example_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "indexed_tx_graph_example_cli"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bdk_chain = { path = "../../crates/chain", features = ["serde", "miniscript"]}
bdk_file_store = { path = "../../crates/file_store" }
bdk_tmp_plan = { path = "../../nursery/tmp_plan" }
bdk_coin_select = { path = "../../nursery/coin_select" }

clap = { version = "3.2.23", features = ["derive", "env"] }
anyhow = "1"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "^1.0" }
1 change: 1 addition & 0 deletions example-crates/indexed_tx_graph_example_cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Provides common command line processing logic between examples using the `KeychainTracker`
Loading

0 comments on commit 9b6b1d3

Please sign in to comment.