I was trying to figure out how to use the bitcoinjs-lib. I was thinking if I could sign a partially signed raw transaction in bitcoijs-lib.

For example - If I have a hex String whose input1 is unsigned but rest of the inputs are all signed, can i Sign this raw transaction using bitcoinjs-lib?

  • Sure, see github.com/bitcoinjs/bitcoinjs-lib/issues/1011. Give it a try and post your code if you need help.
    – JBaczuk
    Aug 13, 2019 at 12:59
  • @JBaczuk Oh by partially signed I meant, Given a hex raw transaction which has been partially signed by one party, i.e one party signs over its inputs and then sends the partially signed raw transaction, can the other party now take the hex raw transaction, and then sign over the remaining inputs? Aug 19, 2019 at 6:34


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.