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