Skip to content

Instantly share code, notes, and snippets.

@richardjoo
Created December 22, 2017 05:34
Show Gist options
  • Save richardjoo/b585c9b489fec703ea08ee408c205dff to your computer and use it in GitHub Desktop.
Save richardjoo/b585c9b489fec703ea08ee408c205dff to your computer and use it in GitHub Desktop.
How to import / export your private key from your QT client

How to Export Private Key from your QT Client

  - launch your client as usual and wait for it to load the blockchain and start up
  - 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 address here]
  - this will return the private key, you can copy it now; ensure you clear your clipboard/history afterwards
  - type: walletlock
  - when dumpprivkey fails for no reason, restart your wallet and try again.  this was tested :D

How to Import Private Key from your QT Client

  - launch your client as usual and wait for it to load the blockchain and start up
  - click on 'help' in the menu bar (top right)
  - click on 'debug window'
  - select the 'console' tab
  - type: walletpassphrase "your walletpassphrase here" 600
  - type: importprivkey (privatekey)
  - type: walletlock
  - when importprivkey fails for no reason, restart your wallet and try again.
    - also check to see if you mistakenly used the address instead of private key :D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment