Skip to content

Script execution via rust-bitcoin-scriptexec #46

Open
@shesek

Description

@shesek

https://github.com/BitVM/rust-bitcoin-scriptexec

The API for simple scripts could look something like: script::exec(`1 1 OP_ADD`) == [2]

Or with a witness stack: script::exec(`2 OP_ADD`, [3]) == [5]

Or with tx input context for signature operations: script::exec(`$alice_pk OP_CHECKSIG`, [$alice_sig], $tx:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions