Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: kfarnan on November 12, 2014, 05:59:21 PM



Title: extracting address
Post by: kfarnan on November 12, 2014, 05:59:21 PM
How do you extract an address from a wallet?  The litecoin wallet won't synch with the network.


Title: Re: extracting address
Post by: belmonty on November 12, 2014, 06:22:30 PM
It depends if your wallet is encrypted or not. These instructions are for the bitcoin wallet, but the litecoin instructions are probably exactly, or almost the same.

If it's not encrypted

click on 'help' in the menu bar (top right)
click on 'debug window'
select the 'console'
type: dumpprivkey [your public key here]

If it's encrypted

click on 'help' in the menu bar (top right)
click on 'debug window'
select the 'console' tab
type: walletpassphrase "your walletpassphrase here" 600
type: dumpprivkey [your public key here]
this will return the private key, you can copy it now; ensure you clear your clipboard/history afterwards
type: walletlock

Basically you just type
dumpprivkey VqJtLt476Vc7zTHZarqSihLDqv1J5Rmr6
if your address is VqJtLt476Vc7zTHZarqSihLDqv1J5Rmr. Your wallet returns the private key for your address, and you can import your private key into a new wallet using  
importprivkey [your private key here]


Title: Re: extracting address
Post by: fast2fix on November 12, 2014, 06:38:06 PM
How do you extract an address from a wallet?  The litecoin wallet won't synch with the network.
you want to generate a new address? goto to "receive coin" tab to generate a new address or use existing ones.