Bitcoin Forum
April 26, 2024, 06:12:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Signing offline transactions from BIP32 inputs?  (Read 1023 times)
Envrin (OP)
Sr. Member
****
Offline Offline

Activity: 318
Merit: 251



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


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!
1714111948
Hero Member
*
Offline Offline

Posts: 1714111948

View Profile Personal Message (Offline)

Ignore
1714111948
Reply with quote  #2

1714111948
Report to moderator
1714111948
Hero Member
*
Offline Offline

Posts: 1714111948

View Profile Personal Message (Offline)

Ignore
1714111948
Reply with quote  #2

1714111948
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
keeshux
Newbie
*
Offline Offline

Activity: 26
Merit: 6


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

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
stevenh512
Full Member
***
Offline Offline

Activity: 137
Merit: 100



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

Ruby: money-tree

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

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!