Skip to content

panicfarm/multisig-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

These are real blockchain transactions examples of computing sighash for P2WKH, P2MS, P2SH multisig and P2WSH multisigs.

For M of N multisigs, the tests verify that M from the N keys from the ScriptPubKey do correspond to the M input's signatures, given the sighash computation. The sighash computation is inspired by Andrew Poelstra's comment.

It is currently lacking P2TR examples.

To run all examples use:

cargo run --example sighash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages