Bitcoin Core – ScriptSig Ore Hex to Sign Ore TX


I have a p2sh address generated with an uncompressed public key (from my ledger) and a compressed public key (a bitcoincore wallet). Both signatures are required to send money. When I use my nano ledger to sign, I get the output:

3045022100b0c80ad5f5db6b790b75156186322b1fd6f9d1da61ff04e47f5a64ca8cdfaf6f02207bce077a537e215d9dd5ccaae72e8af1c4750e67722910c2af1d1f3b6e9357f2

I’m using Ledgerjs library to get this and use the signP2SHTransaction function. I usually insert my private key into the bitcoin core signrawtransaction Post but I’m sure this is scriptSig. I just don’t know of any libraries that allow me to use this to sign rawtx. (I looked at python-bitcoinlib but couldn’t find a way to get the rawtx info into a readable format.)

Any suggestions on a tool I can use to take this to sign raw tx hex for transmission on the wire?



Source link

Related Posts