Someone referred me to the chaindata folder to troubleshoot a problem I am having with Ethereum-Wallet/Mist. How can I find it?
- 85,679
- 53
- 285
- 406
- 945
- 2
- 8
- 21
4 Answers
geth (used in the Ethereum Wallet) saves its internal states for the main network in the chaindata directory. You can find it in the:
~/.ethereumon Linux~/Library/Ethereumon OS X~/AppData/Roaming/Ethereumon Windows
In these directories, there are:
chaindata: production blockchaintestnet: test blockchainkeystore: your keys
When you first launch Ethereum-Wallet it will show the splash screen. Shortly after the splash screen will show a LAUNCH APPLICTION button. Click this button to see the full UI. If you are fully synced already it may skip straight to the full UI
Once that is open go to the Accounts menu > Backup sub-menu > Accounts menu-item.
The UI for your file explorer will differ by OS, but you should see a folder that contains folders like this, in particular it should contain a chaindata folder:
Side-note: While you are here you should backup the keystore folder. Details about this can be found at How do I backup my ether accounts?. Be sure to save your passwords as well!
- 945
- 2
- 8
- 21
-
We also emphasize that for each file in
keystore, you also need to backup your passwords, http://ethereum.stackexchange.com/questions/108/how-do-i-backup-my-ether-accounts – eth Jun 26 '16 at 22:11 -
1
-
How does this answer relates to the actual question? Surely one of those has been edited, I need to downvote in this case. #offtopic – Mars Robertson Nov 07 '17 at 06:12
-
The question was how do I find chaindata folder in must. This is a direct answer to that. I'm not sure why you believe it isn't? – Micah Zoltu Nov 07 '17 at 16:44
On Mac OSX or GNU Linux, simply open a terminal and search for your chaindata using the find commandline tool:
find ~ -type d -name 'chaindata'
Where the first parameter ~ tells to look into your $HOME directory and all subfolders. Type d is for directories only.
A possible result looks like that:
/home/user/.ethereum-dev-private-testnet/chaindata
/home/user/.ethereum-consensys-public-testnet/testnet/chaindata
/home/user/.ethereum-fast/chaindata
/home/user/.ethereum-ethdev-berlin-testnet/chaindata
/home/user/.ethereum/chaindata
As you can see, I have multiple blockchains on my computer.
- 32,913
- 47
- 156
- 395



Libraryreferenced above which is found inHD/Users/{your name}/Libraryand is a hidden folder – Albert Renshaw Dec 03 '17 at 04:42defaults write com.apple.finder AppleShowAllFiles YESthen relaunch finder (option+control click finder icon and select relaunch) – Albert Renshaw Dec 03 '17 at 04:43~/Library/Ethereum– Albert Renshaw Apr 08 '20 at 05:45