Bitcoin Forum
February 24, 2018, 08:33:36 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Signing offline transactions from BIP32 inputs?  (Read 945 times)
Sr. Member
Offline Offline

Activity: 324
Merit: 250

View Profile
September 02, 2014, 04:15:56 AM

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

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?

Hero Member
Offline Offline

Posts: 1519504416

View Profile Personal Message (Offline)

Reply with quote  #2

Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Offline Offline

Activity: 26
Merit: 0

View Profile WWW
September 02, 2014, 10:07:14 AM

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,
Java: bitcoinj
Objective-C: WaSPV, CoreBitcoin

Full Member
Offline Offline

Activity: 137
Merit: 100

View Profile
September 02, 2014, 12:56:47 PM

Ruby: money-tree

This signature intentionally left blank.
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!