Skip to content
This repository was archived by the owner on Sep 12, 2026. It is now read-only.
This repository was archived by the owner on Sep 12, 2026. It is now read-only.

extend the txscript.ScriptBuilder from btcd  #197

Description

@louisinger

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions