Add a policy example

Add a new policy example demonstrating the bdk's policy structure
and how to derive it for any descriptor without creating a bdk wallet.
This commit is contained in:
rajarshimaitra
2022-09-02 15:26:21 +05:30
parent da7670801b
commit 97b6fb06aa
2 changed files with 70 additions and 0 deletions

View File

@@ -113,6 +113,10 @@ name = "miniscriptc"
path = "examples/compiler.rs"
required-features = ["compiler"]
[[example]]
name = "policy"
path = "examples/policy.rs"
[[example]]
name = "rpcwallet"
path = "examples/rpcwallet.rs"