To reset your chain data on a local testnet you should:
- Stop your node
- Delete the blocks and shared_mem folders which you can find under:
- Linux:
~/.local/share/eosio/nodeos/data
- Mac OS:
~/Library/Application Support/eosio/nodeos/data
Deleting the wallets and imported keys information is a separate and independent step (you don't need to reset your chain, you can just delete the wallet data and you can delete individual wallet files too).
One way to confirm you're looking at the correct wallets directory is to do:
cleos wallet open -n boguswalletname
This should result in something like:
Error 3140002: Nonexistent wallet
Are you sure you typed the wallet name correctly?
Error Details:
Unable to open file: /Users/yourusername/eosio-wallet/./boguswalletname.wallet
eos-wallet
directory, try:cleos wallet open -n boguswalletname
. The error message should show a path where it looked for the wallet file.