Bitcoin Forum

Economy => Services => Topic started by: Xenland on July 02, 2012, 04:04:25 AM



Title: [CLOSED] Java coder to generate a Bitcoin Address using Bouncy Castle
Post by: Xenland on July 02, 2012, 04:04:25 AM
Please PM me how much something like this might cost, I need a working java code that generates a Bitcoin address that is commented very well. I already understand how it all works as far as cryptogophy goes I just can't figure out java yet :P

Im' guessing you'll need to use Bouncy castle but not sure if its absolutely required.


Title: Re: [WTB] Working java code that generates a Bitcoin address (recievables required)
Post by: daybyter on July 02, 2012, 12:48:31 PM
I just looked around and found:

https://github.com/jim618/multibit/blob/master/src/main/java/org/multibit/action/CreateNewWalletSubmitAction.java

(Look at line 69.)

Here the actual ECKey class:

http://code.google.com/p/bitcoinj/source/browse/src/com/google/bitcoin/core/ECKey.java?spec=svn41bca3de8f50c00995944b825049b3dc19b70da9&r=41bca3de8f50c00995944b825049b3dc19b70da9

Maybe that helps you already...


Title: Re: [WTB] Working java code that generates a Bitcoin address (recievables required)
Post by: Xenland on July 02, 2012, 08:03:49 PM
Thank you for taking the time to check into that for me!

That's just way to much information for me to know "what exactly is required at a minimum to create a Bitcoin address"
Not to mention, It uses a library called Bouncy Castle so every time I write my own implementations, I can't even test it because it no compiles.


Title: Re: [WTB] Working java code that generates a Bitcoin address (recievables required)
Post by: daybyter on July 02, 2012, 08:25:57 PM
Hmmh...but the problem is, that you would get a lot _more_ information, if you comment this code properly.

I checked the algorithm to create the addresses

https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

and I guess the problem is simply, that it's complicated... :-)

So no matter how much comments you add, it's still complicated... :-)


Title: Re: [WTB] Working java code that generates a Bitcoin address (recievables required)
Post by: Xenland on July 02, 2012, 09:23:54 PM
I could walk someone through creating a bitcoin address they just need to write java code. It sound counter intutive but some programmers have the know how just not the bitcoin know how. Im actually doing this for my pseudoclient documentation and so i fully understand how everything works i just need it converted to code and scince im not a pro java programmer i can not accomplish this on my own


Title: Re: [WTB] Working java code that generates a Bitcoin address (recievables required)
Post by: Xenland on July 02, 2012, 09:24:52 PM
(awaiting response from a pm)

Job is still up for grabs tho


Title: Re: [WTB] Working java code that generates a Bitcoin address (recievables required)
Post by: casascius on July 02, 2012, 09:27:09 PM
There is working javaSCRIPT code to do this in the homepage at bitaddress.org, and it depends on no external code.

It might be a start.


Title: Re: [WTB] Working java code that generates a Bitcoin address (recievables required)
Post by: Xenland on July 02, 2012, 09:31:02 PM
There is working javaSCRIPT code to do this in the homepage at bitaddress.org, and it depends on no external code.

It might be a start.

Now there is an idea.....!


Title: Re: [WTB] Working java code that generates a Bitcoin address (recievables required)
Post by: Xenland on July 03, 2012, 01:16:17 AM
Hmmh...but the problem is, that you would get a lot _more_ information, if you comment this code properly.

I checked the algorithm to create the addresses

https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

and I guess the problem is simply, that it's complicated... :-)

So no matter how much comments you add, it's still complicated... :-)

Things like
Code:

//This is the base58 function

//We are now sha256(sha256()) hashing now

//RFIMID186 is happening here
Thats all i require.... I don't require "documentation" inside the comments...


Title: Re: [WTB] Java coder to generate a Bitcoin Address using Bouncy Castle
Post by: Xenland on July 04, 2012, 07:26:02 AM
Still need a coder  :o


Title: Re: [WTB] Java coder to generate a Bitcoin Address using Bouncy Castle
Post by: weex on July 04, 2012, 08:12:11 AM
Not java but check out https://github.com/weex/addrgen

^--- Aims to be a minimal single address generator and outputs random {"address","privkey"} pair with commented options to generate from a passphrase, existing privkey, and more.


Title: Re: [WTB] Java coder to generate a Bitcoin Address using Bouncy Castle
Post by: Xenland on July 04, 2012, 08:27:50 AM
Not java but check out https://github.com/weex/addrgen

^--- Aims to be a minimal single address generator and outputs random {"address","privkey"} pair with commented options to generate from a passphrase, existing privkey, and more.

Thanks Python is usually straight forward. I could always use a python example in my Pseudocode Client Documentation.


Title: Re: [CLOSED] Java coder to generate a Bitcoin Address using Bouncy Castle
Post by: daybyter on July 04, 2012, 08:48:38 AM
I can code Java,  but don't understand the Python code well, so I can't  port it for you ...