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

    Variable ArkadeScriptConst

    ArkadeScript: P.CoderType<ArkadeScriptType> = ...

    Script CoderType with Arkade extension opcodes.

    Same API as Script from @scure/btc-signer, but with Arkade extension opcodes.

    const script: ArkadeScriptType = ['DUP', 'HASH160', pubkeyHash, 'EQUALVERIFY', 'NUM2BIN'];
    const bytes = ArkadeScript.encode(script);
    const decoded = ArkadeScript.decode(bytes);