Protected Optional ReadonlycontractThe public key of the contract salt
Protected ReadonlynetworkThe network to use
Protected ReadonlysenderThe public key of the sender
Protected ReadonlyxThe public key of the sender
Static ReadonlyDATA_The maximum size of a data chunk
Static ReadonlyMAGICThe magic number of OPNet
Compile an interaction bitcoin script
The calldata to use
The contract secret
Optionalfeatures: UNWRAP[] = []The features to use (optional)
OptionalvaultPublicKeys: Buffer[] = []The public keys of the vault (optional)
OptionalminimumSignatures: number = 0The minimum number of signatures (optional)
Protectedsplit
Class to generate bitcoin script for interaction transactions