monero-site/_i18n/pt-br/resources/user-guides/view_only.md

29 lines
1.6 KiB
Markdown
Raw Normal View History

2019-03-18 12:57:36 +00:00
{% assign version = '1.3.0' | split: '.' %}
2019-03-11 13:28:21 +00:00
{% include disclaimer.html translated="false" version=page.version %}
A view-only wallet can only see which incoming transactions belong to you. It can not spend any of your Monero, in fact it can't even see outgoing transactions from this wallet. This makes view-only wallets particularly interesting for
* Developers writing libraries to validate payments
* End users validating incoming transactions to cold wallets
### Creating A View-Only Wallet
You can create a view-only wallet from any existing wallet.
#### CLI
Open an existing wallet or create a new one using `monero-wallet-cli`. In the wallet, type `address` and `viewkey` to display the wallet's address and secret viewkey. Type `exit` to close the wallet.
Next, create your view-only wallet by typing `monero-wallet-cli --generate-from-view-key wallet-name`. The last argument will be your new wallet's file name. You will be prompted for `Standard address` and `View key` by the wallet. Paste in your original wallet's address and secret view key. Next, enter and confirm a password for your new wallet and you're done.
#### GUI
Open an existing wallet or create a new one using `monero-wallet-gui`. In the wallet, go to the `Settings` > `Wallet` page:
![settings](png/view-only/settings.png)
2019-03-18 12:57:36 +00:00
Click on `Create a view only wallet` > `Create wallet`, the wallet will be created within the same directory and using your current password.
2019-03-11 13:28:21 +00:00
Optionally, double-click the `Success` windows to copy the message, then click `OK` to close it:
![Success](png/view-only/Success.png)