monero-site/_i18n/zh-tw/resources/user-guides/restore_from_keys.md

53 lines
2.4 KiB
Markdown
Raw Normal View History

Simplify versioning system for user guides This new approach doesn't require version numbers and make easier for contributors to understand the status of the document. There are only 3 states: - Outdated: The page is outdated and might not work as expected - Untranslated: The page needs to be translated - Translation outdated: The page is translated, but the original (English) document has been updated To mark a guide as outdated, we change the boolean of the front matter entry 'outdated' in /resources/user-guides/GUIDE. If 'False', the guide is updated. If 'True' all versions of the guide (English included) will show a warning at the bottom of the page. The other 2 states are related to the status of the translated pages and we control them from the language-specific user guides: /_i18n/LANG/resources/user-guides/GUIDE. At the top of the page a snippet will include 2 parameters: - translated: "yes" if the page is translated, "no" if it's not. - translationOutdated: "yes" if the translation is outdated, "no" if it's not This new system aims to be simpler than the precedent, avoiding to compare versioning numbers and using a higher level system instead (yes, no, True, False). I also removed the middle way status 'only minor changes', because if there are only minor changes that don't affect the usability of the guide, we don't need to point it out. The old system was complex and people didn't use it. These changes will hopefully make things easier for translators and other contributors.
2020-05-03 13:38:01 +00:00
{% include disclaimer.html translated="no" translationOutdated="no" %}
2019-05-13 15:23:14 +00:00
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.
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**
#### CLI
Then run the wallet command:
`./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.
#### GUI
Launch `monero-wallet-gui`. If this is the first time you launched it go to the next step, otherwise click `Cancel`:
![cancel opening](/img/resources/user-guides/en/restore_from_keys/cancel-opening.png)
2019-05-13 15:23:14 +00:00
Select your appropriate language `English(US)`:
![choose language](/img/resources/user-guides/en/restore_from_keys/choose-language.png)
2019-05-13 15:23:14 +00:00
Click on `Restore wallet from keys or mnemonic seed`:
![choose restore](/img/resources/user-guides/en/restore_from_keys/choose-restore.png)
2019-05-13 15:23:14 +00:00
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](/img/resources/user-guides/en/restore_from_keys/restore-wallet.png)
2019-05-13 15:23:14 +00:00
On the next page, give your wallet a strong password and confirm it before clicking the `Right` arrow:
![wallet password](/img/resources/user-guides/en/restore_from_keys/wallet-password.png)
2019-05-13 15:23:14 +00:00
Specify your daemon settings and click the `Right` arrow:
![daemon settings](/img/resources/user-guides/en/restore_from_keys/daemon-settings.png)
2019-05-13 15:23:14 +00:00
Click on `USE MONERO` to enjoy your restored wallet:
![all set up](/img/resources/user-guides/en/restore_from_keys/all-set-up.png)