@bitgo/utxo-lib 8.1.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,15 @@ export declare enum ProprietaryKeySubtype {
12
12
  MUSIG2_PUB_NONCE = 2,
13
13
  MUSIG2_PARTIAL_SIG = 3
14
14
  }
15
+ declare type SignatureParams = {
16
+ /** When true, and add the second (last) nonce and signature for a taproot key
17
+ * path spend deterministically. Throws an error if done for the first nonce/signature
18
+ * of a taproot keypath spend. Ignore for all other input types.
19
+ */
20
+ deterministic: boolean;
21
+ /** Allowed sighash types */
22
+ sighashTypes: number[];
23
+ };
15
24
  export interface HDTaprootSigner extends HDSigner {
16
25
  /**
17
26
  * The path string must match /^m(\/\d+'?)+$/
@@ -143,27 +152,33 @@ export declare class UtxoPsbt<Tx extends UtxoTransaction<bigint> = UtxoTransacti
143
152
  /**
144
153
  * Mostly copied from bitcoinjs-lib/ts_src/psbt.ts
145
154
  */
146
- signAllInputsHD(hdKeyPair: HDTaprootSigner | HDTaprootMusig2Signer, sighashTypes?: number[]): this;
155
+ signAllInputsHD(hdKeyPair: HDTaprootSigner | HDTaprootMusig2Signer, params?: number[] | Partial<SignatureParams>): this;
147
156
  /**
148
157
  * Mostly copied from bitcoinjs-lib/ts_src/psbt.ts:signInputHD
149
158
  */
150
- signTaprootInputHD(inputIndex: number, hdKeyPair: HDTaprootSigner | HDTaprootMusig2Signer, sighashTypes?: number[]): this;
151
- signInputHD(inputIndex: number, hdKeyPair: HDTaprootSigner | HDTaprootMusig2Signer, sighashTypes?: number[]): this;
159
+ signTaprootInputHD(inputIndex: number, hdKeyPair: HDTaprootSigner | HDTaprootMusig2Signer, { sighashTypes, deterministic }?: {
160
+ sighashTypes?: number[] | undefined;
161
+ deterministic?: boolean | undefined;
162
+ }): this;
163
+ signInputHD(inputIndex: number, hdKeyPair: HDTaprootSigner | HDTaprootMusig2Signer, params?: number[] | Partial<SignatureParams>): this;
152
164
  private getMusig2Participants;
153
165
  private getMusig2Nonces;
154
166
  /**
155
167
  * Signs p2tr musig2 key path input with 2 aggregated keys.
168
+ *
169
+ * Note: Only can sign deterministically as the cosigner
156
170
  * @param inputIndex
157
171
  * @param signer - XY public key and private key are required
158
172
  * @param sighashTypes
173
+ * @param deterministic If true, sign the musig input deterministically
159
174
  */
160
- signTaprootMusig2Input(inputIndex: number, signer: Musig2Signer, sighashTypes?: number[]): this;
175
+ signTaprootMusig2Input(inputIndex: number, signer: Musig2Signer, { sighashTypes, deterministic }?: {
176
+ sighashTypes?: number[] | undefined;
177
+ deterministic?: boolean | undefined;
178
+ }): this;
161
179
  signTaprootInput(inputIndex: number, signer: SchnorrSigner, leafHashes: Buffer[], sighashTypes?: number[]): this;
162
180
  private getTaprootOutputScript;
163
- getTaprootHashForSig(inputIndex: number, sighashTypes?: number[], leafHash?: Buffer): {
164
- hash: Buffer;
165
- sighashType: number;
166
- };
181
+ private getTaprootHashForSig;
167
182
  /**
168
183
  * Adds proprietary key value pair to PSBT input.
169
184
  * Default identifierEncoding is utf-8 for identifier.
@@ -187,28 +202,58 @@ export declare class UtxoPsbt<Tx extends UtxoTransaction<bigint> = UtxoTransacti
187
202
  private createMusig2NonceForInput;
188
203
  private setMusig2NoncesInner;
189
204
  /**
190
- * Generates and sets Musig2 nonces to p2trMusig2 key path spending inputs.
191
- * The properties tapInternalKey, tapMerkleRoot, tapBip32Derivation for derivedWalletKey are
192
- * required per p2trMusig2 key path input.
193
- * Also participant keys are required from psbt proprietary key values.
194
- * Ref: https://gist.github.com/sanket1729/4b525c6049f4d9e034d27368c49f28a6
195
- * @param psbt
196
- * @param derivedKeyPair derived key pair
205
+ * Generates and sets MuSig2 nonce to taproot key path input at inputIndex.
206
+ * If input is not a taproot key path, no action.
207
+ *
208
+ * @param inputIndex input index
209
+ * @param keyPair derived key pair
210
+ * @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key,
211
+ * (converted to an array of 32 bytes), or 32 uniformly random bytes.
212
+ * @param deterministic If true, set the cosigner nonce deterministically
213
+ */
214
+ setInputMusig2Nonce(inputIndex: number, derivedKeyPair: BIP32Interface, params?: {
215
+ sessionId?: Buffer;
216
+ deterministic?: boolean;
217
+ }): this;
218
+ /**
219
+ * Generates and sets MuSig2 nonce to taproot key path input at inputIndex.
220
+ * If input is not a taproot key path, no action.
221
+ *
222
+ * @param inputIndex input index
223
+ * @param keyPair HD root key pair
197
224
  * @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key,
198
225
  * (converted to an array of 32 bytes), or 32 uniformly random bytes.
226
+ * @param deterministic If true, set the cosigner nonce deterministically
199
227
  */
200
- setMusig2Nonces(derivedKeyPair: BIP32Interface, sessionId?: Buffer): this;
228
+ setInputMusig2NonceHD(inputIndex: number, keyPair: BIP32Interface, params?: {
229
+ sessionId?: Buffer;
230
+ deterministic?: boolean;
231
+ }): this;
201
232
  /**
202
- * Generates and sets Musig2 nonces to p2trMusig2 key path spending inputs.
203
- * The properties tapInternalKey, tapMerkleRoot, tapBip32Derivation for derivedWalletKey are
204
- * required per p2trMusig2 key path input.
205
- * Also participant keys are required from psbt proprietary key values.
206
- * Ref: https://gist.github.com/sanket1729/4b525c6049f4d9e034d27368c49f28a6
207
- * @param rootKeyPair HD key pair
233
+ * Generates and sets MuSig2 nonce to all taproot key path inputs. Other inputs will be skipped.
234
+ *
235
+ * @param inputIndex input index
236
+ * @param keyPair derived key pair
237
+ * @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key,
238
+ * (converted to an array of 32 bytes), or 32 uniformly random bytes.
239
+ */
240
+ setAllInputsMusig2Nonce(keyPair: BIP32Interface, params?: {
241
+ sessionId?: Buffer;
242
+ deterministic?: boolean;
243
+ }): this;
244
+ /**
245
+ * Generates and sets MuSig2 nonce to all taproot key path inputs. Other inputs will be skipped.
246
+ *
247
+ * @param inputIndex input index
248
+ * @param keyPair HD root key pair
208
249
  * @param sessionId Optional extra entropy. If provided it must either be a counter unique to this secret key,
209
250
  * (converted to an array of 32 bytes), or 32 uniformly random bytes.
210
251
  */
211
- setMusig2NoncesHD(rootKeyPair: BIP32Interface, sessionId?: Buffer): this;
252
+ setAllInputsMusig2NonceHD(keyPair: BIP32Interface, params?: {
253
+ sessionId?: Buffer;
254
+ deterministic?: boolean;
255
+ }): this;
212
256
  clone(): this;
213
257
  }
258
+ export {};
214
259
  //# sourceMappingURL=UtxoPsbt.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UtxoPsbt.d.ts","sourceRoot":"","sources":["../../../src/bitgo/UtxoPsbt.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EACL,eAAe,EAIhB,MAAM,2BAA2B,CAAC;AAInC,OAAO,EAAgB,cAAc,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAA8C,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAE9G,OAAO,EAAW,QAAQ,EAAE,IAAI,EAAgC,QAAQ,EAAE,OAAO,EAAiB,MAAM,IAAI,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAyBpD,eAAO,MAAM,2BAA2B,UAAU,CAAC;AAEnD,oBAAY,qBAAqB;IAC/B,uBAAuB,IAAO;IAC9B,2BAA2B,IAAO;IAClC,gBAAgB,IAAO;IACvB,kBAAkB,IAAO;CAC1B;AAED,MAAM,WAAW,eAAgB,SAAQ,QAAQ;IAC/C;;;OAGG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,CAAC;IAC1C;;;OAGG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,QAAQ;IACrD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,qBAAqB,CAAC;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