Bitcoin Forum
May 11, 2024, 01:39:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [CLOSED] Java coder to generate a Bitcoin Address using Bouncy Castle  (Read 2461 times)
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
July 02, 2012, 04:04:25 AM
Last edit: July 04, 2012, 08:28:04 AM by Xenland
 #1

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 Tongue

Im' guessing you'll need to use Bouncy castle but not sure if its absolutely required.
"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715434750
Hero Member
*
Offline Offline

Posts: 1715434750

View Profile Personal Message (Offline)

Ignore
1715434750
Reply with quote  #2

1715434750
Report to moderator
1715434750
Hero Member
*
Offline Offline

Posts: 1715434750

View Profile Personal Message (Offline)

Ignore
1715434750
Reply with quote  #2

1715434750
Report to moderator
daybyter
Legendary
*
Offline Offline

Activity: 965
Merit: 1000


View Profile
July 02, 2012, 12:48:31 PM
 #2

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...

Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
July 02, 2012, 08:03:49 PM
 #3

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.
daybyter
Legendary
*
Offline Offline

Activity: 965
Merit: 1000


View Profile
July 02, 2012, 08:25:57 PM
 #4

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... :-)

Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
July 02, 2012, 09:23:54 PM
 #5

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
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
July 02, 2012, 09:24:52 PM
 #6

(awaiting response from a pm)

Job is still up for grabs tho
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1136


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
July 02, 2012, 09:27:09 PM
 #7

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.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
July 02, 2012, 09:31:02 PM
 #8

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.....!
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
July 03, 2012, 01:16:17 AM
 #9

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...
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
July 04, 2012, 07:26:02 AM
 #10

Still need a coder  Shocked
weex
Legendary
*
Offline Offline

Activity: 1102
Merit: 1014



View Profile
July 04, 2012, 08:12:11 AM
 #11

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.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
July 04, 2012, 08:27:50 AM
 #12

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.
daybyter
Legendary
*
Offline Offline

Activity: 965
Merit: 1000


View Profile
July 04, 2012, 08:48:38 AM
 #13

I can code Java,  but don't understand the Python code well, so I can't  port it for you ...

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!