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 Apr 6, 2022
1 parent cb4d34f commit 00dfd34
Show file tree
Hide file tree
Showing 2 changed files with 609 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Expand Up @@ -58,3 +58,7 @@ name = "bip32"
[[example]]
name = "handshake"
required-features = ["std"]

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

0 comments on commit 00dfd34

Please sign in to comment.