Switched from geth to Parity and wondering where my information now is. Thanks.
-
1That's really interesting because I saw your question before, but no one talked about Windows :)– infinitecolorCommented Oct 7, 2016 at 5:16
-
I know! 😣 I was hoping it would get a good answer that covered all bases.– tayvanoCommented Oct 7, 2016 at 6:54
-
1This is not properly answered : For windows: $home\AppData\Roaming\Parity\Ethereum\keys\ethereum* and for Linux : $home/.local/share/io.parity.ethereum/keys/ethereum/*– Non-mask-able InterruptCommented Jun 17, 2017 at 16:23
8 Answers
In Parity 1.6 : Have a look at
- OSX :
~/Library/Application\ Support/io.parity.ethereum/keys/
- Linux :
~/.local/share/io.parity.ethereum/keys/
- Windows:
%APPDATA%\Parity\Ethereum\keys
In Parity 1.5 : Have a look at ~/.parity/keys
. You'll find what you're looking for.
-
2I installed parity with
bash <(curl https://get.parity.io -Lk)
command on Ubuntu, however I don't have a~/.parity
folder. Yet it's syncing. Did the default directory change?– jeffCommented Mar 7, 2017 at 14:32 -
1I'm finding my parity data under
~/.local/share/io.parity.ethereum/
Commented Mar 14, 2017 at 0:09
When you run parity -h
you can see the default keystore. It is listed as the default where the -d --base-path
option is explained, under Operating Options.
On Linux: ~/.local/share/io.parity.ethereum/keys/
On Mac OS: ~/Library/Application\ Support/io.parity.ethereum/keys/
Parity stores keys in ~/.local/share/io.parity.ethereum/
for linux. Whereas for Windows, it stored them under C:\Users\{CurrentUser}\.parity\keys
. `
-
This is not correct. On Windows there is no
$HOME
environment variable (and environment variables are%
wrapped, not$
prefixed). The correct path is%APPDATA%\Parity\Ethereum\...
, which by default (but not always_ will take you to something likeC:\Users\<username>\AppData\Roaming\Parity\Ethereum\....
Commented Mar 4, 2018 at 3:52 -
Also, Parity no longer (incorrectly) stores files in
%USERPROFILE%\.parity
(this was done previously but is really bad form on Windows). Commented Mar 4, 2018 at 3:53
When I switched from geth to parity, I noticed that parity imported my accounts from the .ethereum/keystore/*
directory into parity somehow.
0 ✓ user@host ~ $ ll ~/.ethereum/keystore/
total 48K
4.0K drwxr-xr-x 2 user users 4.0K May 13 10:36 .
4.0K drwx------ 9 user users 4.0K Jun 17 10:17 ..
4.0K -rw-r--r-- 1 user users 58 May 13 10:36 contract-0x1482xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.txt
4.0K -rw-r--r-- 1 user users 43 Oct 16 2015 contract-0x534cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.txt
4.0K -rw-r--r-- 1 user users 43 Oct 16 2015 contract-0xe358xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.txt
4.0K -rw------- 1 user users 491 Oct 16 2015 UTC--2015-10-15T18-13-54.479132678Z--fcaexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
4.0K -rw------- 1 user users 491 Oct 16 2015 UTC--2015-10-15T20-25-00.928153131Z--a1c2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
4.0K -rw------- 1 user users 491 Jan 15 13:37 UTC--2016-01-15T12-37-23.415253096Z--1337xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
4.0K -rw------- 1 user users 491 Feb 2 01:18 UTC--2016-02-02T00-18-36.894929209Z--a989xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
4.0K -rw------- 1 user users 491 Feb 2 01:36 UTC--2016-02-02T00-36-01.611176405Z--0000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
4.0K -rw------- 1 user users 491 Feb 4 14:51 UTC--2016-02-04T13-51-18.257136025Z--b195xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
4.0K -rw------- 1 user users 491 Feb 8 12:22 UTC--2016-02-08T11-22-19.471238279Z--006exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
0 ✓ user@host ~ $ cat .ethereum/keystore/UTC--2016-02-08T11-22-19.471238279Z--006exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
{"address":"006exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","crypto":{"cipher":"aes-xxx-xxx","ciphertext":"874axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","cipherparams":{"iv":"fb05xxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"kdf":"scrypt","kdfparams":{"dklen":xx,"n":xxxxxx,"p":x,"r":x,"salt":"6c6bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"mac":"a128xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"id":"f433aa7d-xxxx-xxxx-xxxx-xxxxxxxxxxxx","version":3}}
They are now also located in .parity/keys/*
:
0 ✓ user@host ~ $ ll ~/.parity/keys/
total 36K
4.0K drwxr-xr-x 2 user users 4.0K Apr 20 19:31 .
4.0K drwxr-xr-x 5 user users 4.0K Apr 26 09:58 ..
4.0K -rw-r--r-- 1 user users 605 Jun 24 10:52 1843f804-xxxx-xxxx-xxxx-xxxxxxxxxxxx
4.0K -rw-r--r-- 1 user users 605 Jun 24 10:52 37dce086-xxxx-xxxx-xxxx-xxxxxxxxxxxx
4.0K -rw-r--r-- 1 user users 605 Jun 24 10:52 52a91bfd-xxxx-xxxx-xxxx-xxxxxxxxxxxx
4.0K -rw-r--r-- 1 user users 605 Jun 24 10:52 8240bdb9-xxxx-xxxx-xxxx-xxxxxxxxxxxx
4.0K -rw-r--r-- 1 user users 605 Jun 24 10:52 af3e6350-xxxx-xxxx-xxxx-xxxxxxxxxxxx
4.0K -rw-r--r-- 1 user users 605 Jun 24 10:52 f433aa7d-xxxx-xxxx-xxxx-xxxxxxxxxxxx
4.0K -rw-r--r-- 1 user users 605 Jun 24 10:52 f4bf9894-xxxx-xxxx-xxxx-xxxxxxxxxxxx
0 ✓ user@host ~ $ cat parity/keys/f433aa7d-xxxx-xxxx-xxxx-xxxxxxxxxxxx
{
"address": "006exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"crypto": {
"cipher": "aes-xxx-xxx",
"cipherparams": {
"iv": "fb05xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"ciphertext": "874axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"kdf": "scrypt",
"kdfparams": {
"dklen": xx,
"n": xxxxxx,
"p": x,
"r": x,
"salt": "6c6bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"mac": "a128xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"id": "f433aa7d-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"version": 3
}
(Just adding to Bob Gill's answer; don't have the reputation to comment).
On Windows, the private keys are in:
%appdata%\Parity\Ethereum
and Blockchain data is in:
%appdata%\..\Local\Parity\Ethereum\chains\ethereum\db\<nodeid>\overlayrecent\db
You don't really need to know the "<nodeid>
"; it's the only folder there unless you have multiple nodes.
(%appdata% points to ...\AppData\Roaming)
-
The blockchain data path is wrong. It should be
%LOCALAPPDATA%\Parity\Ethereum\...
.%APPDATA%\..\Local
is not guaranteed to point to the same location as%LOCALAPPDATA%
, which his where the chain data is really stored. Commented Mar 4, 2018 at 3:49
On Windows...
Private keys are stored in
%AppData%\Roaming\Parity\Ethereum\keys\ethereum
Blockchain data is stored in
%localappdata%\Parity\Ethereum\chains\ethereum\db\<nodeid>\overlayrecent\db
-
The first path is incorrect.
%APPDATA%
takes you to theRoaming
folder if you have Windows setup with default paths. The correct path is%APPDATA%\Parity\Ethereum\...
Commented Mar 4, 2018 at 3:50
On Windows 7 and 10, I had to go here:
C:\Users\{your_user_name}\AppData\Roaming\Parity\Ethereum\keys\ethereum
The files that start with UTC-
are the keys.
-
This answer is incorrect as the path up to
AppData\Roaming
may differ depending on your OS settings. The correct path is%APPDATA%\Parity\Ethereum\...
Commented Mar 4, 2018 at 3:51