Skip to content

Instantly share code, notes, and snippets.

@giacomocaironi
giacomocaironi / Taproot.md
Created September 18, 2021 11:09
Test vector for taproot SigMsg

=== SIGHASH ALL ===

The following is an unsigned transaction: 02000000025f6092ec9bb430830dfc344260dd5a03cf355186e774be49b2fe5c362f56cb8d00000000000000000061431892d76aa28b5ed1e3da8800fa0d7190c4b4f22be5f416d2d07e573b32e10100000000000000000100ca9a3b000000001976a914682dfdbc97ab5c31300f36d3c12c6fd854b1b35a88ac00000000

The first input comes from a P2WPKH: scriptPubKey : 0014196a5bea745288a7f947993c28e3a0f2108d2e0a value : 5.0 private key : 6b3973ee2ce444ada0147716925f6f77569350804835498593dd3be95163d558 public key : 0271be339aeae9ed2c6a5a7f8ac5f49638da387612be881c7ed2fb3848b0ef8a6c