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

    Class Script

    DefaultVtxo.Script is the class letting to create the vtxo script.

    const vtxoScript = new DefaultVtxo.Script({
    pubKey: new Uint8Array(32),
    serverPubKey: new Uint8Array(32),
    });

    console.log("script pub key:", vtxoScript.pkScript)

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    exitScript: string
    forfeitScript: string
    leaves: TapLeafScript[]
    scripts: Bytes[]
    tweakedPublicKey: Bytes
    DEFAULT_TIMELOCK: RelativeTimelock = ...

    Accessors

    • get pkScript(): Bytes

      Returns Bytes

    Methods