File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,18 @@ Often it is useful to communicate a description of scripts along with the
243
243
necessary private keys. For this reason, anywhere a public key or xpub is
244
244
supported, a private key in WIF format or xprv may be provided instead.
245
245
This is useful when private keys are necessary for hardened derivation
246
- steps, or for dumping wallet descriptors including private key material.
246
+ steps, for signing transactions, or for dumping wallet descriptors
247
+ including private key material.
248
+
249
+ For example, after importing the following 2-of-3 multisig descriptor
250
+ into a wallet, one could use ` signrawtransactionwithwallet `
251
+ to sign a transaction with the first key:
252
+ ```
253
+ sh(multi(2,xprv.../84'/0'/0'/0/0,xpub1...,xpub2...))
254
+ ```
255
+ Note how the first key is an xprv private key with a specific derivation path,
256
+ while the other two are public keys.
257
+
247
258
248
259
### Compatibility with old wallets
249
260
You can’t perform that action at this time.
0 commit comments