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 Jul 17, 2022
1 parent 9cfa9bd commit ee8d06d
Show file tree
Hide file tree
Showing 2 changed files with 633 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 ee8d06d

Please sign in to comment.