Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: isolutioncorp on January 24, 2023, 09:18:32 PM



Title: How to convert a dogecoin hex to WIF key? i tried pywallet, etc... please help
Post by: isolutioncorp on January 24, 2023, 09:18:32 PM
How to convert a  dogecoin hex to WIF key? i tried pywallet, etc...

so I can import my WIF key to the wallet?? please help


Title: Re: How to convert a dogecoin hex to WIF key? i tried pywallet, etc... please help
Post by: Apocollapse on January 25, 2023, 08:04:19 AM
What's the problem you're facing? you need to remember Bitcoin is using byte 80 while Doge is using byte 9E, you also need to calculate the math of SHA256. Both Doge and Bitcoin are using same Base58, maybe you're input wrong numbers or code in your pywallet.

I think this link might help you since there's not many different between Bitcoin and Dogecoin https://en.bitcoin.it/wiki/Wallet_import_format


Title: Re: How to convert a dogecoin hex to WIF key? i tried pywallet, etc... please help
Post by: Greg Tonoski on January 25, 2023, 08:59:07 PM
How to convert a  dogecoin hex to WIF key? i tried pywallet, etc...

so I can import my WIF key to the wallet?? please help

There is the script to convert secp256k1 private key in hexadicimal number (HEX) to Bitcoin Wallet Import Format (WIF): https://gist.github.com/GregTonoski/438992249df6e4bd613f9758421ff38a (https://gist.github.com/GregTonoski/438992249df6e4bd613f9758421ff38a)