Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 101498

Pay to Taproot is the native SegWit v1 output format. It commits directly to a public key which can optionally be tweaked with the hash of a script tree. This combines capabilities of previous output formats which were usually based on either a public key hash or a script hash. P2TR addresses are Bech32m encoded and start with the prefix `bc1p`.

3 votes

Error creating a Taproot descriptor with a single key as script path

If there is a single leaf in the descriptor you should not use brackets for the script path: tr([0d378869/44'/1'/0'/0/0]035d107216d89a540edacba2bc6719f3a9c6eac538bebac8b305e8cd42c3e466ae,pk(0374d5f29b …
Antoine Poinsot's user avatar
2 votes
Accepted

Simple OP_EQUAL script (Script evaluated without error but finished with a false/empty top s...

The witness only contains data pushes, unlike the scriptSig. Here the Script interpreter compares 0x58 and 8 and pushes 0 on the stack. Hence the error: Script evaluated without error but finished wi …
Antoine Poinsot's user avatar
1 vote

Enforcing PSBT Signature Rules: Finalizer/Extractor and Deserialization Implementation

This boils down to how to treat invalid signatures provided in a PSBT. I believe there is some room for implementation-defined behaviour with regard to the finalizer role. For instance if it can get a …
Antoine Poinsot's user avatar
2 votes
Accepted

Get the scriptPubKey from a Taproot address

You can use the reference Python implementation of bech32 / bech32m. Decode the address using bech32_decode and get the human readable part, data encoded (the scriptPubKey you are looking for), and wh …
Antoine Poinsot's user avatar