Bitcoin Forum
June 30, 2024, 01:28:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Convert a bitcoin address to an altcoin addresss  (Read 378 times)
sdp (OP)
Sr. Member
****
Offline Offline

Activity: 469
Merit: 281



View Profile WWW
December 21, 2013, 02:22:38 PM
 #1

I really should poke around in the source code but maybe someone already knows this.  Can I convert a bitcoin address into an altcoin address by changing the first character?  Perhaps for security have a separate key for bitcoin but for all the alts perhaps share just one?

I am going to try this with smallchange and ppcoin and then maybe peercoin.

I ran the following command:
bash-4.2$ ppcoind dumpprivkey PCYvdQNREei6MSdos1WD9KTPj4m5JLTbJp

The output was a long string of letters and numbers.  I opened the smallchange client and in the debug window of the GUI I entered:
importprivkey followed by that long string I just mentioned.  

smallchange-qt reports back:

{"code":-5,"message":"Invalid private key"}

I shouldn't be surprised.

If I run dumpprivkey using smallchange-qt we get a string with the same length and the alphabet is [A-Za-z0-9]  just like that of the ppcoind one.

So far, it seems I cannot share private keys among distinct altcoins.


Coinsbank: Left money in their costodial wallet for my signature.  Then they kept the money.
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!