Are the new Taproot addresses (SegWit v1) also a hash of the (potentially tweaked) public key, or is the public key directly encoded into the address, without hashing it?
1 Answer
Public keys are not hashed in Taproot (SegWit v1). The Taproot (Merkle) tree in the script path uses hashes but the Merkle root of this tree tweaks the unhashed public key (internal key) and the resulting tweaked public key is not hashed either. For more details on why see the reference 2 in BIP 341.
-
Does that mean that there are roughly 2^256 possible Taproot addresses (eg pubkeys)? Commented Dec 10, 2022 at 19:37
-
1Right, not quite 2^256 possible points on secp256k1 curve but pretty close bitcoin.stackexchange.com/questions/114135/… Commented Dec 11, 2022 at 7:44