Author

Topic: Java Bitcoin Utils (Read 815 times)

legendary
Activity: 1526
Merit: 1134
December 02, 2012, 07:02:38 PM
#4
Just take the ECKey, Address and VersionedChecksummedBytes classes from bitcoinj and you have what you need. They don't depend on other parts of the library.
hero member
Activity: 668
Merit: 501
December 02, 2012, 06:28:41 PM
#3
bitcoinJ is very simple for that:

Code:
new ECKey().toAddress(NetworkParameters.prodNet())
legendary
Activity: 1498
Merit: 1000
December 02, 2012, 06:24:38 PM
#2
http://pastebin.com/raw.php?i=LuiDSmiN

I wrote this awhile ago, and it does all that, but does require the use of the bouncy castle dependencies
full member
Activity: 125
Merit: 100
December 02, 2012, 06:03:06 PM
#1
I'm looking for a simple library to handle basic bitcoin related calculations such as
- generating private keys
- calculating public keys
- calculating bitcoin addresses

I'm not looking for any actual bitcoin network interaction. I'm looking at bitcoinj opened but before I slim it down to the classes that are relevant to me I figured I'd ask and see if this is something that's already available.
Jump to: