UNPKG

@btc-vision/transaction

Version:

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

14 lines 754 B
import type { PsbtParallelKeyPair } from '@btc-vision/bitcoin'; import type { UniversalSigner } from '@btc-vision/ecpair'; /** * Wraps an untweaked UniversalSigner as PsbtParallelKeyPair. * Used for script-path signing (raw private key needed). */ export declare function toParallelKeyPair(signer: UniversalSigner): PsbtParallelKeyPair; /** * Creates a hybrid adapter with untweaked publicKey (for PSBT input matching) * but tweaked privateKey (for correct key-path Schnorr signatures). * Uses createPrivateKey/createPublicKey for branded type validation. */ export declare function toTweakedParallelKeyPair(untweakedSigner: UniversalSigner, tweakedSigner: UniversalSigner): PsbtParallelKeyPair; //# sourceMappingURL=ParallelSignerAdapter.d.ts.map