Bitcoin Forum

Bitcoin => Electrum => Topic started by: kalihunter on April 26, 2022, 01:45:32 PM



Title: Watch-only wallet
Post by: kalihunter on April 26, 2022, 01:45:32 PM
Hello community,

i setup Whonix VM on Virtualbox where Electrum is pre-installed. I create standard wallet(with 2fa as i know is not free) and also saved seed on paper. I purchased some BTC from Mycelium app and transfered on Electrum. Transaction was completed. I checked Electrum wallet and there are my amounts.

Now i wanna to have watch-only Electrum wallet on mobile to check my balance and also to be able to get new address for transferring there another purchase. I am not always on Laptop. That Whonix is tor oriented and isolated OS where privacy is transferred under Tor and because of that i choose that platform. i do not like ms Windows.

I to setup that? to have watch-only wallet on my android for security. Or is there any other way to use Electrum on mobile with safe ?

How you have that managed?

As i now Electrum does not have fingerprint access with password.



Title: Re: Watch-only wallet
Post by: jackg on April 26, 2022, 01:55:05 PM
I'm not sure where the option is (it's in one of the drop down menus) but I think you can get all 3 of your master public keys (they'll begin xpub, ypub of zpub when you find them). These can then be used to make a multisig watch only wallet on your mobile configured as a 2 of 3 (I think you have to configure it as multisig and not watch only though on the android device).



Title: Re: Watch-only wallet
Post by: Charles-Tim on April 26, 2022, 02:12:19 PM
You can not setup a watch-only with 2FA wallet on Electrum, you can only use 'standard wallet'.

Read the link NeuroticFish post below to be able to setup 2FA watch-only wallet.

If you want to be able to setup a watch-only wallet, not that different on computers if compared with mobile phones too. Use this guide:

https://electrum.readthedocs.io/en/latest/coldstorage.html

If you still feel confused, then use this guide for mobile watch-only setup:

https://bitcointalk.org/index.php?topic=5237614.msg54149363#msg54149363 (the post by nc50lc).

Remember, you can not spend using watch-only wallet, you can only use it to generate addresses, make unsigned transaction and for broadcasting transaction that has been signed on cold storage wallet. Watch-only wallet does not have private key as you did not import any seed phrase or private, it can not be used fir making transaction.

I create standard wallet(with 2fa as i know is not free)
That is not possible, standard wallet is standard wallet, while 2FA wallet is 2FA wallet on Electrum, they are not the same setup but totally different.


Title: Re: Watch-only wallet
Post by: kalihunter on April 26, 2022, 02:22:43 PM
I just wanna want to have watch-only to see balance and send there BTC/ to get new address. i am not going to spend.

My wallet is standard wallet.
thanks for link.


Title: Re: Watch-only wallet
Post by: NeuroticFish on April 26, 2022, 02:26:10 PM
You can not setup a watch-only with 2FA wallet on Electrum, you can only use 'standard wallet'.

I am not that sure it's not possible, I've founds this tutorial on how to do it:
https://bitcoinelectrum.com/creating-a-watch-only-version-of-your-2fa-wallet/

However, if this doesn't work or it's too difficult, and if OP wants to drop the "also to be able to get new address" functionality, he can always make a watch only wallet based on the one address he knows (or a list of addresses).


Edit: I see OP has standard wallet, then getting the master public key is easy. The rest of the answer still stands.


Title: Re: Watch-only wallet
Post by: hosseinimr93 on April 26, 2022, 02:54:13 PM
My wallet is standard wallet.
Are you sure about this?
In the OP, you said that you have created a wallet with 2FA. As mentioned by Charles-Tim, your wallet can't be both standard and 2FA.

If your wallet is 2FA, you have three master public keys.
If your wallet is standard, you have one master public key.


It is possible with multisig but not possible with 2FA setup. That guide is kind of misleading as it is pointing to multisig.
That guide works.
A 2FA wallet in electrum is actually a 2 of 3 multi-signature wallet.

In the 2FA wallet, you can go to "Wallet information" and get all three master public keys.
If you create a multi-signature wallet with those three master public keys, you will have a multi-signature watch-only wallet with the same addresses as the 2FA wallet.


Title: Re: Watch-only wallet
Post by: o_e_l_e_o on April 26, 2022, 03:06:23 PM
  • Open your 2FA Wallet on your VM
  • Click Wallet -> Information
  • Open Electrum on your phone
  • Create a new wallet and select "Multi-signature wallet"
  • Select "From 3 cosigners" and "Require 2 signatures"
  • Select "Use a master key"
  • On desktop, click the QR code symbol next to the first Zpub from keystore 1
  • On mobile, scan this QR code in to the "Add Cosigner 1" box
  • Hit next, and then choose "Enter cosigner key"
  • On desktop, choose keystore 2 and again click the QR code symbol
  • On mobile, scan this QR Code in
  • Repeat the steps 9-11 for keystore 3
  • You now have a watch only wallet on your mobile with the same addresses as your 2FA wallet on desktop


Title: Re: Watch-only wallet
Post by: kalihunter on April 26, 2022, 05:44:41 PM
Thanks for guides. My wallet is really
i created standard coz as i got transactions there needs a fees. so if i want use watch-only wallet on mobile need 2fa wallet?


Title: Re: Watch-only wallet
Post by: o_e_l_e_o on April 26, 2022, 05:51:02 PM
i created standard coz as i got transactions there needs a fees. so if i want use watch-only wallet on mobile need 2fa wallet?
No, you don't need to use 2FA. The instructions I posted above were to create a watch only wallet from a 2FA wallet, because from your original post it appeared you had created a 2FA wallet. It seems to have been lost in translation.

To create a watch only wallet on mobile from a standard desktop wallet:
  • Open your wallet on your VM
  • Click Wallet -> Information
  • Open Electrum on your phone
  • Create a new wallet and select "Standard wallet"
  • Select "Use a master key"
  • On desktop, click the QR code symbol next to your Master Public Key
  • On mobile, scan this QR code and hit next


Title: Re: Watch-only wallet
Post by: kalihunter on April 26, 2022, 06:16:43 PM
i created standard coz as i got transactions there needs a fees. so if i want use watch-only wallet on mobile need 2fa wallet?
No, you don't need to use 2FA. The instructions I posted above were to create a watch only wallet from a 2FA wallet, because from your original post it appeared you had created a 2FA wallet. It seems to have been lost in translation.

To create a watch only wallet on mobile from a standard desktop wallet:
  • Open your wallet on your VM
  • Click Wallet -> Information
  • Open Electrum on your phone
  • Create a new wallet and select "Standard wallet"
  • Select "Use a master key"
  • On desktop, click the QR code symbol next to your Master Public Key
  • On mobile, scan this QR code and hit next


Ok i did as u guide me. Now i have watch-only wallet on phone?

now all private keys is saved on my VM?


Title: Re: Watch-only wallet
Post by: o_e_l_e_o on April 26, 2022, 07:03:34 PM
Ok i did as u guide me. Now i have watch-only wallet on phone?
You should do. If you open the wallet on your phone, and then tap on the wallet name in the top left, it should say "This wallet is watching-only" underneath your master public key.

I would also open the address tab in your mobile wallet (three dots at the top right -> Addresses) and the address tab in your desktop wallet (View -> Show Addresses if it isn't there), and double check the addresses match.


Title: Re: Watch-only wallet
Post by: kalihunter on April 27, 2022, 08:22:32 AM
thanks for your guides. hardware wallet is expansive Ledger and trezors.

what about to use any linux distro on Virtualbox as cold wallet? u can turn there off internet forever. Is that good?



Ok i did as u guide me. Now i have watch-only wallet on phone?
You should do. If you open the wallet on your phone, and then tap on the wallet name in the top left, it should say "This wallet is watching-only" underneath your master public key.



I checked and it watch-only now. I can now just get address to send BTC for save and can't spend from watch-only wallet right?

Thanks for guide you and all of you.


Title: Re: Watch-only wallet
Post by: NeuroticFish on April 27, 2022, 08:34:45 AM
thanks for your guides. hardware wallet is expansive Ledger and trezors.

what about to use any linux distro on Virtualbox as cold wallet? u can turn there off internet forever. Is that good?

VirtualBox-like solutions are considered not safe enough for cold storage, since malware on the underlying OS can record every move.
But if you're knowledgeable enough for VBox, you can easily use an USB stick with Live Linux as cold storage, as long as you always remember to unplug your network cable before booting from the stick. Even more, Tails OS provides a pretty good solution for this.


Title: Re: Watch-only wallet
Post by: hosseinimr93 on April 27, 2022, 08:50:00 AM
I checked and it watch-only now. I can now just get address to send BTC for save and can't spend from watch-only wallet right?
Right.
You can use your watch-only wallet for generating new addresses and checking your balance and transactions.
You can't sign transactions using your watch-only wallet and you will need your wallet on VM whenever you want to make a transaction.


Title: Re: Watch-only wallet
Post by: kalihunter on May 02, 2022, 07:22:07 AM
thanks for your guides. hardware wallet is expansive Ledger and trezors.

what about to use any linux distro on Virtualbox as cold wallet? u can turn there off internet forever. Is that good?

VirtualBox-like solutions are considered not safe enough for cold storage, since malware on the underlying OS can record every move.
But if you're knowledgeable enough for VBox, you can easily use an USB stick with Live Linux as cold storage, as long as you always remember to unplug your network cable before booting from the stick. Even more, Tails OS provides a pretty good solution for this.

Nice idea about Live USB and about Tails. Will think about it. One 8GB USB is enough. Thanks.


Title: Re: Watch-only wallet
Post by: NotATether on May 04, 2022, 06:43:34 AM
Also, if you plan on only spending from a single Electrum address (i.e. all Change addresses have been frozen via the GUI), you can repeat the import procedure above but pasting a Bitoin address instead of a master public key. It is more hassle-free than the mpk, at the expense of some privacy *potentially* lost by reusing an address.