-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P2TR support #7
P2TR support #7
Conversation
octobocto
commented
Nov 23, 2023
- proto: add taproot to script types
- src: maybe add taproot support
Would love some tests here |
a349ec7
to
dea8a08
Compare
dea8a08
to
c175305
Compare
@@ -95,6 +95,7 @@ data class Script(private val script: ScriptType) { | |||
// operators, and replace this `when` block with something that returns | |||
// a list of operators. For another day. | |||
ScriptType.SCRIPT_TYPE_WPKH_NESTED -> "sh(wpkh" | |||
ScriptType.SCRIPT_TYPE_P2TR -> "p2tr" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have no idea if this is correct (or how to test it)
c175305
to
eb07f23
Compare
Test vectors look good, but they're failing |
I'm very sure they're correct, but I think the taproot method is wrong. How can I figure out what operator to call? wrong:
also wrong:
|
f302835
to
369eb4a
Compare
369eb4a
to
bd17fde
Compare
BADABOM! |