Skip to content

Commit 7d31d59

Browse files
tchardingDanGould
andcommitted
Add psbt example
Add an example PSBT workflow. The workflow we simulate is that of a setup using a watch-only online wallet (contains only public keys) and a cold-storage wallet (contains the private keys). We create and update a PSBT using the watch-only wallet then pass the PSBT to the cold-storage wallet to sign. Co-authored-by: Dan Gould <[email protected]>
1 parent 9cf3a70 commit 7d31d59

File tree

2 files changed

+633
-0
lines changed

2 files changed

+633
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,7 @@ name = "bip32"
5656
[[example]]
5757
name = "handshake"
5858
required-features = ["std"]
59+
60+
[[example]]
61+
name = "ecdsa-psbt"
62+
required-features = ["std", "bitcoinconsensus"]

0 commit comments

Comments
 (0)