Bitcoin Forum
May 05, 2024, 01:37:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Electrum] Export private keys (Windows)  (Read 5173 times)
ingrownpocket (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1000


View Profile
January 26, 2013, 06:21:45 PM
 #1

How can I export the private keys from addresses created and used by Electrum?
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714916230
Hero Member
*
Offline Offline

Posts: 1714916230

View Profile Personal Message (Offline)

Ignore
1714916230
Reply with quote  #2

1714916230
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4616



View Profile
January 26, 2013, 11:00:26 PM
 #2

Looking at the Electrum.org website I see they have a "community" page.
http://electrum.org/community.html

Clicking that link, I see the following:

Quote

When I click that link, I see the following:

Quote
You can export your private keys using the 'addresses' command:

Code:
$ ./electrum addresses -ak
Password:
1LGoehbyeX4QBEPK1a6dhyaoMQZfqg5LKX:5JBSttEGhjEcPidSovW66Rin2EZ6LEHZ2qx8Pu2RqqNaDTBVWaF   
1KcsBJa2cCxVkGJfSsg5bUeXN7Y5uLa8mP:5KiP4uiNT6KG8jnXbainCM8rDWRrgxt3PAyut4FFpDoCo1Rh6VM   
1PXsn7LVXTccGhJPTUL8r2EGB4fF9kvex3:5Kj8mvBJReyk8xEBMx5cTnciQCxto5JmudiTPkqwMcd61Kf1Jqc   
1KteSFTAphyByLTtUfFiVQ9s7fMVmx7c2h:5JeZ3FTbWcksLt3PKydd5U9p952UQRHwv3LoxzCA9LZ7V2bku5p   
1GE5ZChAobeTEPLHDCDDKTSg3XvLkcQFjS:5JwtGEygTwF2nouhRVzW3w5DWZd1sCgxLtnd1v51wjkbUrp5sqH   
12YNehfAoYTiwjTXULwaZqTCauu2D61fq6:5Jvcq19ePCXKcVun4n7US99CsrEByUK2kgxXBA3rBVBqYZjhfwD  [change]

There are two options in this example:

    option -a means: 'list all addresses'. if you don't use it, change addresses are not listed.
    option -k means: display the private keys

flatfly
Legendary
*
Offline Offline

Activity: 1078
Merit: 1011

760930


View Profile
January 27, 2013, 06:52:36 PM
 #3

If your wallet is not encrypted, you can take a look inside the electrum.dat. There you find all the priv keys.

Unfortunately, this will only give you the imported keys (if any), not keys created by Electrum, because these are not stored in any file (they are dynamically derived from the seed.)

Only "electrum -oak addresses" will show them. However, as far as I know the current official Windows version doesn't support it. You may want to double-check on the Electrum thread or the #electrum IRC channel for the latest status on this.

Or if you still have access to one of my old builds (which are no longer supported but they will work fine), you can just hold down the SHIFT key while starting electrum and type the above command in the resulting console window.

PS: sacko, thanks for your kind words on the other thread Wink
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!