Question about generating taproot addresses #88
Unanswered
radicleart
asked this question in
Q&A
Replies: 1 comment
-
Not the same.
By default, p2tr uses the tweaked public key to generate the address.
And here you use xOnlyPubKey AS the tweaked public key to generate the address. You should tweak the xOnlyPubKey first to generate the same address:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
wondering why these two methods yield different bech32m addresses?
this test fails but we expected it to pass - how are the two different addresses connected ?
Beta Was this translation helpful? Give feedback.
All reactions