Answer by Antoni for sign native P2WPKH with bitcoinjs-lib (signing sighash)...
i have fixed the problem by using a P2PKH output script for the sighashconst sighash = tx.hashForWitnessV0( 0, Buffer.from(utxo.scriptPubKey, 'hex'), utxo.amount, hashtype);has been changed toconst pkh...
View Articlesign native P2WPKH with bitcoinjs-lib (signing sighash)...
i experimented a lot with p2wsh multisig configurations with bitcoinjs-lib. but when i tried to sign a standard native segwit p2wpkh to p2wpkh transaction everything goes ok except for bitcoin-cli...
View Article
More Pages to Explore .....