I have created an account with ./tezos-client gen keys my-address. Now I want to rename the alias of the address from my-address to address1. How can I do that?

1 Answer 1


I do not know if a simple command exists for renaming aliases. What you can do is going to the folder of the client (usually cd ~/.tezos-client) and then rename the respective keys in the following files:

  • public_key_hashs
  • public_keys
  • secret_keys
  • that's right. I also did not find any special command for that. Just edit those files and you will be fine. Do not forget to check if json still valid after editing
    – indigo
    Commented Mar 20, 2019 at 15:55

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.