Bitcoin Forum
May 24, 2024, 06:35:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: extracting address  (Read 754 times)
kfarnan (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
November 12, 2014, 05:59:21 PM
 #1

How do you extract an address from a wallet?  The litecoin wallet won't synch with the network.
belmonty
Sr. Member
****
Offline Offline

Activity: 295
Merit: 250


View Profile
November 12, 2014, 06:22:30 PM
Last edit: November 12, 2014, 06:46:40 PM by belmonty
 #2

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]
fast2fix
Legendary
*
Offline Offline

Activity: 1612
Merit: 1001


View Profile
November 12, 2014, 06:38:06 PM
 #3

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.
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!