I want to deploy a smart contract, but I don't know which password to use. Is it the same as my main account on the real Ethereum network? And can I change the Testnet password? I forgot it, but I really want to see my smart contract in testnet ethereum.

1 Answer 1


Not necessarily, depends on you. Hopefully you are the only person knowing your password so if you forgot it, then there is no way to recover it. Now your wallet is encrypted and you'd really need your password to unlock your wallet. Maybe you can try this tool to crack your wallet.

You can only update your account password if you know your current password. More info here.

If you are not able to recover your password just create a new account and deploy the contract from that.

  • Thanks for answering. I created a new account, but when i click on 'mining' in the interface it is only mining at the first account. So now I don't know how to create money on my new account.
    – Rhode
    Commented Sep 26, 2017 at 14:58
  • You can set the coinbase account when firing up your geth client by adding the --etherbase "address" flag or from the console miner.setEtherbase(address). Hope this helps! Commented Sep 26, 2017 at 15:14

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.