You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider moving these smaller examples to the bdk/examples folder
is that we cannot add them to the wallet/examples folder is due to the fact that bdk_esplora and bdk_electrum crates are not dependencies for bdk_wallet.
Hence we cannot add them to the cargo examples.
However we can circumvent this by adding both bdk_electrum and bdk_esplora to the dev-depencies of bdk_wallet.
Which I think is not worth it the extra overhead.
Activity
storopoli commentedon May 9, 2024
You can assign this to me.
I am eager to help.
storopoli commentedon May 14, 2024
@ValuedMammal the problem with
is that we cannot add them to the
wallet/examplesfolder is due to the fact thatbdk_esploraandbdk_electrumcrates are not dependencies forbdk_wallet.Hence we cannot add them to the cargo examples.
However we can circumvent this by adding both
bdk_electrumandbdk_esplorato thedev-depenciesofbdk_wallet.Which I think is not worth it the extra overhead.
Source: https://users.rust-lang.org/t/cargo-example-only-dependencies/3215
ValuedMammal commentedon May 14, 2024
you're right, they will probably have to stay in example-crates
Merge bitcoindevkit#1595: refactor(wallet): use `Amount` everywhere