Skip to content

Commit

Permalink
Add psbt example
Browse files Browse the repository at this point in the history
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 <d@ngould.dev>
  • Loading branch information
tcharding and DanGould committed Jun 30, 2022
1 parent 05f7545 commit a7f2d21
Show file tree
Hide file tree
Showing 2 changed files with 638 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Expand Up @@ -57,3 +57,7 @@ name = "bip32"
[[example]]
name = "handshake"
required-features = ["std"]

[[example]]
name = "ecdsa-psbt"
required-features = ["std", "bitcoinconsensus"]

0 comments on commit a7f2d21

Please sign in to comment.