@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Function arkadeScriptHash

    • Compute the tagged hash of an Arkade script. Uses BIP-340 tagged hash: SHA256(SHA256(tag) || SHA256(tag) || script)

      Parameters

      • script: Uint8Array

        The raw Arkade script bytes

      Returns Uint8Array

      32-byte hash