Bitcoin Forum

Bitcoin => Project Development => Topic started by: ripper234 on December 31, 2011, 05:12:39 AM



Title: How can I generate an offline transaction using Java?
Post by: ripper234 on December 31, 2011, 05:12:39 AM
http://bitcoin.stackexchange.com/questions/2357/how-do-i-generate-offline-transactions-in-java

Can anyone help?


Title: Re: How can I generate an offline transaction using Java?
Post by: jim618 on December 31, 2011, 11:41:43 AM
Andreas Schildbach (Android Bitcoin Wallet) has done some work on creating offline transactions using bitcoinj.

He posted about it here:
http://groups.google.com/group/bitcoinj/browse_thread/thread/a043ad96ebb2401a

He produces QR code representations of the transaction and has proposed a protocol 'btctx' for them.
I have put some test code in MultiBit to read the QR codes he generates and then fire them off to the bitcoin network and that works ok.

He has made some refinements to do with compression of the transactions so you might want to contact him directly - he has an account in bitcointalk as 'Goonie'.

His code is open source and I am sure he would not mind you reusing it.


Title: Re: How can I generate an offline transaction using Java?
Post by: ripper234 on December 31, 2011, 02:29:22 PM
Andreas Schildbach (Android Bitcoin Wallet) has done some work on creating offline transactions using bitcoinj.

He posted about it here:
http://groups.google.com/group/bitcoinj/browse_thread/thread/a043ad96ebb2401a

He produces QR code representations of the transaction and has proposed a protocol 'btctx' for them.
I have put some test code in MultiBit to read the QR codes he generates and then fire them off to the bitcoin network and that works ok.

He has made some refinements to do with compression of the transactions so you might want to contact him directly - he has an account in bitcointalk as 'Goonie'.

His code is open source and I am sure he would not mind you reusing it.

Thanks, I'll have a look.


Title: Re: How can I generate an offline transaction using Java?
Post by: netrin on December 31, 2011, 06:19:38 PM
Also, I believe Puik released much of his Java code, but most of his key handling is actually client-side in JS.