mirror of
https://github.com/monero-project/monero-site.git
synced 2024-10-30 21:17:40 +00:00
35 lines
1.8 KiB
Markdown
35 lines
1.8 KiB
Markdown
|
{% assign version = '1.2.0' | split: '.' %}
|
||
|
{% 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)
|
||
|
|
||
|
Click on `Create a view only wallet` > `Create wallet`, then give it a name and a storage location before clicking the `Right` arrow:
|
||
|
|
||
|
![create-view-only](png/view-only/create-view-only.png)
|
||
|
|
||
|
Give your view-only wallet a strong password and confirm it before clicking on `Create wallet`:
|
||
|
|
||
|
![wallet-password](png/view-only/wallet-password.png)
|
||
|
|
||
|
Optionally, double-click the `Success` windows to copy the message, then click `OK` to close it:
|
||
|
|
||
|
![Success](png/view-only/Success.png)
|