Skip to content

extend the txscript.ScriptBuilder from btcd  #197

@louisinger

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)

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