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)

Constructors

Properties

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

Accessors

Methods