Function assembleBitcoinSatoshiScript

  • Convert a string from the Satoshi implementation's script_tests.json text-format to bytecode. The string must be valid – this method attempts to convert all unmatched tokens to BigInts.

    Parameters

    • satoshiScript: string

      the script in the Satoshi implementation's script_tests.json text format

    Returns Uint8Array

Generated using TypeDoc