Author

Topic: Signing offline transactions from BIP32 inputs? (Read 1042 times)

full member
Activity: 137
Merit: 100
September 02, 2014, 08:56:47 AM
#3
Ruby: money-tree
newbie
Activity: 26
Merit: 6
If you already know how to sign the transaction given your input keys, you only need a library that can do BIP32 derivation from the master private key. Several exist, what's your programming language preference?

JavaScript: bitcoinjs, bip32.org
Java: bitcoinj
Objective-C: WaSPV, CoreBitcoin
sr. member
Activity: 318
Merit: 251

Say I have some software that creates raw, unsigned transactions like this:

Quote
010000000123221673345457ba31af240fa9cd80286331161498311ce40a33041da9f5850701000 00000ffffffff0280df1710000000001976a914615ca8b67b06d6dad64c336bf280d08769ce6c32 88ac701b82060000000017a914e39fe814cbdcea9f6db7f9eed3850368fc446f0d8700000000

On top of that, I have my BIP32 master private key, and the key index(es) used to generate all input addresses.  Is there any open-source Github project or anything that will allow me to input this information is a specified format (ie. CSV / JSON file of raw txes, plus my BIP32 private key), and spit out the signed txes?

I looked around, but can't really find anything that's generic.  Just something that says, "install our app on your offline computer / tablet, format your raw txes like *this*, import them into our app, and it will return a file of signed transactions with *this* format".  Has to support BIP32 though, so I can define the keyindex being used for each input.

Does anything generic like this exist in the open-source community, or am I writing it?  If I'm writing it, any feature requests, suggestions, anything?

Thanks!
Jump to: