How To Change Telos (or eosio) Keys Using Anchor
Save every version of your keys (from Genesis keys to every time you update your keys)
You may need to refer back to older versions of your keys for possible future chains
Never show your Private Key to anyone.
Make sure you do not lose your Private Key. If you do not control the private keys, you will lose control of your account!
Updating Permissions
You will want to change both the Active and Owner Permissions on your account. Change one at a time.
- Download Anchor for Desktop (updating permissions is not supported in the Anchor Mobile App)
- Click “Tools” in the Menu
- Under the ‘Securities’ section, click “Manage Keys"
- Click “Generate Key Pairs”
- Once you see your two sets of new keys, Click “Copy to clipboard”
- Save this key in a secure location.
- Write it down offline. Make sure you have the Private Key for the corresponding Public Key written down.
- The public key always starts with EOS and then the Private Key is right below it.
- Never show your Private Key to anyone
- There are many ways you can save your keys, such as:
- “Save Keys to Wallet” will save the keys inside Anchor. This is recommended for everyone. Remember to backup your Anchor wallet if this is the only place you choose to save your keys.
- “Copy to clipboard” allows you to copy and paste the private keys elsewhere on your computer, for example in a text file.
- Click on the “eye” which displays your private keys on your screen (careful!) and allows you to write down your private key on a piece of paper. Make sure to double and triple check that your correctly transcribed your key and then store it in a safe location. Anyone who finds this private key controls the account and all the assets in it.
Always make sure to have 2 copies of your private keys.
- Close this window by clicking the "X" in the top right corner
- Click “Tools” in the Menu
- Under the ‘Securities’ section, click “Permissions” – on this page you will store your keys
- On this page you will see your current active permission (active key) and your current owner permission (owner key)
Altering Account Permissions
The permissions tool will allow you to specify new Public Keys and set them as the controlling authority of an account. When changing an accounts keys, ensure that you have the associated Private Key backed up someplace safe. Changing the Public Keys on an account to a keypair in which the Private Key is unknown will cause the account to become permanantly inaccessible.
Access your account
You have two options to access your account:
- Your account name @active – only able to change the active permission
- Your account name @owner – can change both the owner and active permission
- Click “Modify” next to the permission you are altering first
- Copy and Paste your newly generated Public Key in the block where you see your current active Public Key
- Click “Update Permission”
- If the transaction is complete, your Public Key has been updated.
- Repeat steps 11-13 to modify the Owner Key
You use only your Public Key (starting with EOS) when you change the Active or the Owner Key. You are not inputting your Private Key at this point.
After you update your keys, you will need to input your new Private Key to Anchor in order to control the account with the current key setup.
Importing Your New Key
- Go to Home and click “Manage Wallets”
- Click “Import Accounts”
- You can either manually import your account or allow the server to automatically detect it
- Use your newly generated Owner Key
- Paste your new Private Key
- Click “Import Account”
Congratulations! You have successfully generated a new key pair and can now control your Telos account through your Anchor wallet!