What I have

  1. successfully unlock account with password using web3 api(personal.unlockAccount).

What I Want

  1. If user did not remember their account password, in case of that I want to unlock account via keystore file in private blockchain, if he/she has a keystore file of their account.
  2. If it is possible, How can I get directory path of keystore file of an account and their filename by passing their account number programmatically (web3 api or other).
  • 1
    The keystore is encrypted with a password. You can not unlock an account with just the keystore file.
    – q9f
    Commented Jan 9, 2017 at 13:17
  • 1
    In effect, the keystore file is the account. When you unlock the account, you're unlocking the keystore file. Commented Jan 9, 2017 at 13:37


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.