restore_from_keys.md 2.29 KB
Newer Older
el00ruobuob's avatar
el00ruobuob committed
1 2
{% assign version = '1.1.0' | split: '.' %}
{% include disclaimer.html translated="false" version=page.version %}
3 4 5
### Restoring from keys

Restoring a wallet from private keys is pretty simple. If you have the necessary information, with this guide you can completely restore your wallet. Note: you do NOT have to have your password to restore from keys.
6 7 8 9 10 11 12 13

You need to have 3 pieces of data from your wallet, or your .keys file which holds this info and the password to decrypt it. The 3 wallet components that you need are:

1. **Address**
2. **Secret Spendkey**
3. **Secret Viewkey**


14 15 16
#### CLI

Run the wallet command:
17 18 19 20 21 22 23 24

`./monero-wallet-cli --generate-from-keys New_Wallet_Name.abc`

Next, you'll be asked for the Address, the spendkey, the viewkey, and finally the new password for the re-generated wallet.

Running this with the correct parameters will re-generate your wallet files for you and allow you to set a new password.

If you run into any trouble, running `./monero-wallet-cli --help` will show you the options available to you at wallet startup. Once you're inside your wallet, running the `help` command will list the help for the commands available to you within the wallet.
25 26 27

#### GUI

28
Launch `monero-wallet-gui`. If this is the first time you launched it go to the next step, otherwise click `Cancel`:
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

![cancel opening](png/restore_from_keys/cancel-opening.png)

Select your appropriate language `Español`:

![choose language](png/restore_from_keys/choose-language.png)

Click on `Restore wallet from keys or mnemonic seed`:

![choose restore](png/restore_from_keys/choose-restore.png)

Select `Restore from keys`, give your wallet a name & storage location, and complete the `Account address (public)`, `View key (private)` & `Spend key (private)`. Optionaly, specify a `Restore height (optional)` to avoid scanning of oldest blocks. Then click the `Right` arrow:

![restore wallet](png/restore_from_keys/restore-wallet.png)

On the next page, give your wallet a strong password and confirm it before clicking the `Right` arrow:

![wallet password](png/restore_from_keys/wallet-password.png)

Specify your daemon settings and click the `Right` arrow:

![daemon settings](png/restore_from_keys/daemon-settings.png)

Click on `USE MONERO` to enjoy your restored wallet:

![all set up](png/restore_from_keys/all-set-up.png)