Signs a specific input of a transaction with a bitcoinjs-lib ECPair signer.
ECPair
It detects Taproot inputs and applies key tweaking when needed before signing.
For @scure/btc-signer transactions and raw private keys, use signInputPrivKey.
@scure/btc-signer
The parameters object
A bitcoinjs-lib Psbt.
Psbt
The input index to sign
A bitcoinjs ECPair signer.
https://github.com/bitcoinjs/bitcoinjs-lib/pull/2137#issuecomment-2713264848
Signs a specific input of a transaction with a bitcoinjs-lib
ECPairsigner.It detects Taproot inputs and applies key tweaking when needed before signing.
For
@scure/btc-signertransactions and raw private keys, use signInputPrivKey.