UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

10 lines (9 loc) 496 B
import { Network } from '@btc-vision/bitcoin'; import { Generator } from '../Generator.js'; export declare const OPNET_DEPLOYMENT_VERSION = 0; export declare const versionBuffer: Buffer<ArrayBuffer>; export declare class DeploymentGenerator extends Generator { constructor(senderPubKey: Buffer, contractSaltPubKey: Buffer, network?: Network); compile(contractBytecode: Buffer, contractSalt: Buffer, preimage: Buffer, maxPriority: bigint, calldata?: Buffer): Buffer; private getAsm; }