@bitgo/utxo-lib
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -83,5 +83,9 @@ /// <reference types="node" /> | ||
static fromHex(data: string, opts: PsbtOpts): UtxoPsbt; | ||
static deriveKeyPair(hdKeyPair: BIP32Interface, bip32Derivations: Bip32Derivation[], params: { | ||
keyFormat: 'plain' | 'xOnly'; | ||
}): BIP32Interface | undefined; | ||
/** | ||
* @param parent - Parent key. Matched with `bip32Derivations` using `fingerprint` property. | ||
* @param bip32Derivations - possible derivations for input or output | ||
* @return derived bip32 node if matching derivation is found, undefined if none is found | ||
* @throws Error if more than one match is found | ||
*/ | ||
static deriveKeyPair(parent: BIP32Interface, bip32Derivations: Bip32Derivation[]): BIP32Interface | undefined; | ||
get network(): Network; | ||
@@ -185,3 +189,4 @@ toHex(): string; | ||
* Generates and sets Musig2 nonces to p2trMusig2 key path spending inputs. | ||
* tapInternalkey, tapMerkleRoot, tapBip32Derivation for derivedWalletKey are required per p2trMusig2 key path input. | ||
* The properties tapInternalKey, tapMerkleRoot, tapBip32Derivation for derivedWalletKey are | ||
* required per p2trMusig2 key path input. | ||
* Also participant keys are required from psbt proprietary key values. | ||
@@ -197,13 +202,13 @@ * Ref: https://gist.github.com/sanket1729/4b525c6049f4d9e034d27368c49f28a6 | ||
* Generates and sets Musig2 nonces to p2trMusig2 key path spending inputs. | ||
* tapInternalkey, tapMerkleRoot, tapBip32Derivation for derivedWalletKey are required per p2trMusig2 key path input. | ||
* The properties tapInternalKey, tapMerkleRoot, tapBip32Derivation for derivedWalletKey are | ||
* required per p2trMusig2 key path input. | ||
* Also participant keys are required from psbt proprietary key values. | ||
* Ref: https://gist.github.com/sanket1729/4b525c6049f4d9e034d27368c49f28a6 | ||
* @param psbt | ||
* @param hdKeyPair HD key pair | ||
* @param rootKeyPair HD key pair | ||
* @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key, | ||
* (converted to an array of 32 bytes), or 32 uniformly random bytes. | ||
*/ | ||
setMusig2NoncesHD(hdKeyPair: BIP32Interface, sessionId?: Buffer): this; | ||
setMusig2NoncesHD(rootKeyPair: BIP32Interface, sessionId?: Buffer): this; | ||
clone(): this; | ||
} | ||
//# sourceMappingURL=UtxoPsbt.d.ts.map |
{ | ||
"name": "@bitgo/utxo-lib", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Client-side Bitcoin JavaScript library", | ||
@@ -87,3 +87,3 @@ "main": "./dist/src/index.js", | ||
"license": "MIT", | ||
"gitHead": "fdabb43f7200612031c99fe4b8695c98d40c3cf7" | ||
"gitHead": "1dc88962a7dec6805607e4510e20e0e80a84d01f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1369803
10584