I'd like to do the following:
- I use
dumpprivkey
to get the private key fromLitecoin
wallet. - I import this private key into
Dogecoin
wallet - Which will generate a new Dogecoin address. Both will share the same private key.
The most related post I found is: What happens if you send Bitcoin to a Litecoin address?
However, when I try to directly import, it will give me the
error:
{"code":-5,"message":"Invalid private key encoding"}
So now, how can I dump the private key and decode into hex and move the prefix from "L" to "D" and regenerate a WIF for dogecoin?
Is there any existing solution for it?