UNPKG

@btc-vision/transaction

Version:

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

9 lines (8 loc) 297 B
import { Network } from '@btc-vision/bitcoin'; export declare class AddressGenerator { static generatePKSH(sha256Hash: Buffer, network: Network): string; static generateTaprootAddress(pubKey: Buffer, network: { bech32: string; }): string; private static toSegwitAddress; }