Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: cakir on December 11, 2015, 01:39:05 PM



Title: How To Convert A BTC Private Key (WIF) into another CryptoCurrency Private Key?
Post by: cakir on December 11, 2015, 01:39:05 PM
Hi,
Is there a way to convert a BTC private key into another cryptocurrency private key? For instance I've BTC priv key (format: WIF) and I want to convert it into Dogecoin key.


Title: Re: How To Convert A BTC Private Key (WIF) into another CryptoCurrency Private Key?
Post by: achow101 on December 11, 2015, 01:45:46 PM
Yes, it is. You need to reverse the base58check encoding to get the raw private key. Then you can apply the base58check encoding for the altcoin that you want.


Title: Re: How To Convert A BTC Private Key (WIF) into another CryptoCurrency Private Key?
Post by: fbueller on December 11, 2015, 01:55:41 PM
Yes, it is. You need to reverse the base58check encoding to get the raw private key. Then you can apply the base58check encoding for the altcoin that you want.

..which is normally just replacing the prefix byte


Title: Re: How To Convert A BTC Private Key (WIF) into another CryptoCurrency Private Key?
Post by: cakir on December 11, 2015, 02:02:37 PM
Yes, it is. You need to reverse the base58check encoding to get the raw private key. Then you can apply the base58check encoding for the altcoin that you want.

..which is normally just replacing the prefix byte
First 5 chars are these: Kzs5V
What are the possible prefix bytes for doge?


Title: Re: How To Convert A BTC Private Key (WIF) into another CryptoCurrency Private Key?
Post by: cakir on December 11, 2015, 03:28:49 PM
Solution: I've used "brainwallet" (offline version of it) to convert btc priv key into "secret exponent", then from this secret exponent created dogecoin WIF private key.
Thanks a lot everyone!