@btc-vision/transaction
Version:
OPNet transaction library allows you to create and sign transactions for the OPNet network.
14 lines • 780 B
TypeScript
import { PsbtParallelKeyPair } from '../../node_modules/@btc-vision/bitcoin/browser/index.js';
import { 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