Skip to content
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

extend the txscript.ScriptBuilder from btcd #197

Open
louisinger opened this issue Jun 9, 2022 · 0 comments
Open

extend the txscript.ScriptBuilder from btcd #197

louisinger opened this issue Jun 9, 2022 · 0 comments

Comments

@louisinger
Copy link
Collaborator

Elements tapscript update adds new introspections opcodes. It's totally ok to use the current btcd txscript.ScriptBuilder to build elements tapscript with introspection but the new opcodes adds some complexity (like asset or value encoding).

I'm thinking of extending ScriptBuilder from btcd with introspect functions specific to Elements (similar to what we did with javascript here)

The new extended ElementsScriptBuilder could be a new pkg of go-elements

related to: #195 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant