monero-site/knowledge-base/user-guides/view_only.md

24 lines
1.3 KiB
Markdown
Raw Normal View History

---
layout: static_page
2017-03-07 10:01:23 +02:00
title: "View Only Wallets"
title-pre-kick: "Creating a view only wallet "
2017-03-07 10:01:23 +02:00
title-kick: ""
title-post-kick: ""
2017-03-07 10:01:23 +02:00
kick-class: ""
icon: "icon_userguides"
attribution: "<!-- Icon is based on work by Freepik (http://www.freepik.com) and is licensed under Creative Commons BY 3.0 -->"
---
2017-03-07 10:01:23 +02:00
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
2017-03-07 10:01:23 +02:00
* Developers writing libraries to validate payments
* End users validating incoming transactions to cold wallets
2017-03-07 10:01:23 +02:00
### Creating A View-Only Wallet
2017-03-07 10:01:23 +02:00
You can create a view-only wallet from any existing wallet.
2017-03-07 10:01:23 +02:00
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.
2017-03-07 10:01:23 +02:00
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.