<p>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.</p>

<p>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?</p>

CC BY-SA 4.0
2019-08-13T12:59:40.790Z
Sure, see https://github.com/bitcoinjs/bitcoinjs-lib/issues/1011. Give it a try and post your code if you need help.
JBaczuk
CC BY-SA 4.0
2019-08-19T06:34:01.237Z
@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?
Shubham Saxena
CC BY-SA 4.0
2023-12-20T18:21:54.980Z
@ShubhamSaxena they can as long as they have the required key to do so.
ruby_newbie
<bitcoinjs><signrawtransaction>
Sign a Partially Signed rawtransaction with bitcoinjs-lib
Shubham Saxena
# Sign a Partially Signed rawtransaction with bitcoinjs-lib

(Asked by: username_0 on 2019-08-13)

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?

**Tags:** bitcoinjs, signrawtransaction

> **Comments:**
> **username_1**: Sure, see https://github.com/bitcoinjs/bitcoinjs-lib/issues/1011. Give it a try and post your code if you need help.  
> **username_0**: @username_1 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?  
> **username_2**: @username_0 they can as long as they have the required key to do so.  

---

## 0 answers

