Bitcoin Forum
April 28, 2024, 06:55:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Connect mobile wallet to Full Node  (Read 179 times)
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 27, 2023, 03:28:02 PM
Last edit: June 27, 2023, 04:58:54 PM by apogio
Merited by LoyceV (4), ABCbits (2), Halab (2)
 #1

Hello.

I have set up my own node and I am also running an electrum server (electrs).

I need:

1. to connect my mobile wallet to my electrum server using my tor onion link, in order to have access from everywhere.
2. to be able to monitor my multi-sig wallet (watch-only mode). Therefore the wallet must have the feature to import multiple xpubs in order to view my wallet's balance and generate addresses.

Literally any wallet would do.

I have tried:

1. BlueWallet but it doesn't connect to electrum server through tor.
2. Nunchuk but it doesn't connect to electrum server through tor.
3. Samourai but it doesn't support watch-only multi-signature wallet, even though tor seems to be running properly.

Edit:
I have installed Orbit in order to use tor more properly, but no luck with it.

1714287306
Hero Member
*
Offline Offline

Posts: 1714287306

View Profile Personal Message (Offline)

Ignore
1714287306
Reply with quote  #2

1714287306
Report to moderator
1714287306
Hero Member
*
Offline Offline

Posts: 1714287306

View Profile Personal Message (Offline)

Ignore
1714287306
Reply with quote  #2

1714287306
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714287306
Hero Member
*
Offline Offline

Posts: 1714287306

View Profile Personal Message (Offline)

Ignore
1714287306
Reply with quote  #2

1714287306
Report to moderator
1714287306
Hero Member
*
Offline Offline

Posts: 1714287306

View Profile Personal Message (Offline)

Ignore
1714287306
Reply with quote  #2

1714287306
Report to moderator
witcher_sense
Legendary
*
Offline Offline

Activity: 2310
Merit: 4313

🔐BitcoinMessage.Tools🔑


View Profile WWW
June 27, 2023, 03:55:33 PM
Last edit: June 27, 2023, 04:09:40 PM by witcher_sense
Merited by delfastTions (1)
 #2

Have you tried Electrum wallet for mobile? Here is the guide on how to connect myNode to Electrum with onion link, but this should work with other nodes too: https://mynodebtc.github.io/tor/electrum.html

Not sure it supports multiple xpubs though: https://github.com/spesmilo/electrum/issues/6016
You can also try to create a watch-only multisig wallet using this guide: https://bitcoinelectrum.com/creating-a-watch-only-version-of-your-2fa-wallet/ This information is relevant for mobile version of Electrum wallet.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BitMaxz
Legendary
*
Offline Offline

Activity: 3234
Merit: 2943


Block halving is coming.


View Profile WWW
June 27, 2023, 04:37:50 PM
 #3


Not sure it supports multiple xpubs though: https://github.com/spesmilo/electrum/issues/6016

I just tried today to import multiple xPub but it looks like Electrum doesn't support it yet and the advanced feature they mention on their GitHub page it seems it's not yet implemented.

I think if he only wants to monitor the balances of his wallet he can able to import multiple public keys but not xPub. The only problem is he won't be able to generate a new address.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 27, 2023, 08:38:58 PM
 #4

Have you tried Electrum wallet for mobile? Here is the guide on how to connect myNode to Electrum with onion link, but this should work with other nodes too: https://mynodebtc.github.io/tor/electrum.html

Not sure it supports multiple xpubs though: https://github.com/spesmilo/electrum/issues/6016
You can also try to create a watch-only multisig wallet using this guide: https://bitcoinelectrum.com/creating-a-watch-only-version-of-your-2fa-wallet/ This information is relevant for mobile version of Electrum wallet.

Unfortunately, the little icon on the upper-right corner in electrum is red, meaning that even though I have followed the instructions, it won't connect to my node.


nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5539


Self-proclaimed Genius


View Profile
June 28, 2023, 04:49:00 AM
Merited by apogio (2)
 #5

1. to connect my mobile wallet to my electrum server using my tor onion link, in order to have access from everywhere.
-snip-
Edit:
I have installed Orbit in order to use tor more properly, but no luck with it.
Orbot seems to work without issues in my test.
Check out these screenshots (connected to a randomly picked onion server):


Things that you might have missed: have you enabled Orbit's "VPN" during its setup and added Electrum to the Tor-Enabled Apps?
It's also have to establish connection first by clicking the Electrum icon (screenshot 2).

2. to be able to monitor my multi-sig wallet (watch-only mode). Therefore the wallet must have the feature to import multiple xpubs in order to view my wallet's balance and generate addresses.
In Electrum, your option is to restore separate wallet files with each xPubs.
You'll also might need to convert them first into zPub/yPub depending on the script type that you want to restore, otherwise, it'll be legacy.
Electrum (Desktop) has a built-in tool for that, use the command: convert_xkey

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 28, 2023, 06:03:35 AM
 #6

1. to connect my mobile wallet to my electrum server using my tor onion link, in order to have access from everywhere.
-snip-
Edit:
I have installed Orbit in order to use tor more properly, but no luck with it.
Orbot seems to work without issues in my test.
Check out these screenshots (connected to a randomly picked onion server):


Things that you might have missed: have you enabled Orbit's "VPN" during its setup and added Electrum to the Tor-Enabled Apps?
It's also have to establish connection first by clicking the Electrum icon (screenshot 2).

2. to be able to monitor my multi-sig wallet (watch-only mode). Therefore the wallet must have the feature to import multiple xpubs in order to view my wallet's balance and generate addresses.
In Electrum, your option is to restore separate wallet files with each xPubs.
You'll also might need to convert them first into zPub/yPub depending on the script type that you want to restore, otherwise, it'll be legacy.
Electrum (Desktop) has a built-in tool for that, use the command: convert_xkey

Hello, so thank you, I was able to connect to my node, even though the connection is not perfectly stable, but however it seems to work.

The other part I am missing now is the multisig part. So, you suggest I should convert my xpubs to Zpubs? Why so?

nc50lc
Legendary
*
Offline Offline

Activity: 2394
Merit: 5539


Self-proclaimed Genius


View Profile
June 28, 2023, 07:11:10 AM
 #7

-snip-
Hello, so thank you, I was able to connect to my node, even though the connection is not perfectly stable, but however it seems to work.

The other part I am missing now is the multisig part. So, you suggest I should convert my xpubs to Zpubs? Why so?
I completely missed the MultiSig part of the question.

Yes, there's an option in Android Electrum to import master public keys as cosigners.
Just follow the correct options when restoring a wallet, the options are self-explanatory: "Multi-signature wallet->Select the number of Cosigners/Signatures->Use a master key"
but like in single-sig, the extended public keys should be converted for Electrum to be able to derive the correct address type, otherwise it'll be restored as P2SH-MultiSig.

With that, if your addresses are P2SH-MultiSig, import them as is.
If not, and the addresses starts with "bc1q", you'll have to convert them into "Zpub".

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 28, 2023, 09:48:50 AM
 #8

-snip-
Hello, so thank you, I was able to connect to my node, even though the connection is not perfectly stable, but however it seems to work.

The other part I am missing now is the multisig part. So, you suggest I should convert my xpubs to Zpubs? Why so?
I completely missed the MultiSig part of the question.

Yes, there's an option in Android Electrum to import master public keys as cosigners.
Just follow the correct options when restoring a wallet, the options are self-explanatory: "Multi-signature wallet->Select the number of Cosigners/Signatures->Use a master key"
but like in single-sig, the extended public keys should be converted for Electrum to be able to derive the correct address type, otherwise it'll be restored as P2SH-MultiSig.

With that, if your addresses are P2SH-MultiSig, import them as is.
If not, and the addresses starts with "bc1q", you'll have to convert them into "Zpub".

Thank you. You ve been very helpful. I have managed to successfully connect to my node and monitor my wallet.

mendace
Sr. Member
****
Offline Offline

Activity: 462
Merit: 603


Pizza Maker 2023 | Bitcoinbeer.events


View Profile WWW
June 29, 2023, 08:24:56 PM
 #9

Hello.


I have tried:

1. BlueWallet but it doesn't connect to electrum server through tor.
2. Nunchuk but it doesn't connect to electrum server through tor.
3. Samourai but it doesn't support watch-only multi-signature wallet, even though tor seems to be running properly.

Edit:
I have installed Orbit in order to use tor more properly, but no luck with it.

Don't use orbot to connect the network to tor because it generally doesn't work well and you have to tick that application anyway to enable it.  Instead on blue wallet use the internal connection by going to setting and then network choose tor and press start but first set the electrum server of your node.
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 30, 2023, 06:12:02 AM
 #10

Hello.


I have tried:

1. BlueWallet but it doesn't connect to electrum server through tor.
2. Nunchuk but it doesn't connect to electrum server through tor.
3. Samourai but it doesn't support watch-only multi-signature wallet, even though tor seems to be running properly.

Edit:
I have installed Orbit in order to use tor more properly, but no luck with it.

Don't use orbot to connect the network to tor because it generally doesn't work well and you have to tick that application anyway to enable it.  Instead on blue wallet use the internal connection by going to setting and then network choose tor and press start but first set the electrum server of your node.

Hello. Are you sure? I have tried to use Bluewallet with its internal tor implementation but it doesn't work. Tor starts but it loses connection all the time.

mendace
Sr. Member
****
Offline Offline

Activity: 462
Merit: 603


Pizza Maker 2023 | Bitcoinbeer.events


View Profile WWW
June 30, 2023, 06:15:16 AM
 #11

Hello.


I have tried:

1. BlueWallet but it doesn't connect to electrum server through tor.
2. Nunchuk but it doesn't connect to electrum server through tor.
3. Samourai but it doesn't support watch-only multi-signature wallet, even though tor seems to be running properly.

Edit:
I have installed Orbit in order to use tor more properly, but no luck with it.

Don't use orbot to connect the network to tor because it generally doesn't work well and you have to tick that application anyway to enable it.  Instead on blue wallet use the internal connection by going to setting and then network choose tor and press start but first set the electrum server of your node.

Hello. Are you sure? I have tried to use Bluewallet with its internal tor implementation but it doesn't work. Tor starts but it loses connection all the time.

Yes, I'm very sure because I always use it like this, maybe it depends on the device, I use a pixel 6a or on the installed version.  Also with Simple Bitcoin Wallet I use the internal TOR connection.  While with electrum mobile I use orbit but you have to activate the VPN and add electrum as an app in the orbit list.
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 30, 2023, 07:30:53 AM
 #12


Yes, I'm very sure because I always use it like this, maybe it depends on the device, I use a pixel 6a or on the installed version.  Also with Simple Bitcoin Wallet I use the internal TOR connection.  While with electrum mobile I use orbit but you have to activate the VPN and add electrum as an app in the orbit list.

I am surprised that BlueWallet works for you.

I use my tor address to connect to my electrum server. Something like this: hsbwdsadsa[...].onion

And I also set port 50001 because I don't use SSL.

But it keeps telling me that "Can't connect to the electrum server provided".


mendace
Sr. Member
****
Offline Offline

Activity: 462
Merit: 603


Pizza Maker 2023 | Bitcoinbeer.events


View Profile WWW
June 30, 2023, 07:47:24 AM
 #13


Yes, I'm very sure because I always use it like this, maybe it depends on the device, I use a pixel 6a or on the installed version.  Also with Simple Bitcoin Wallet I use the internal TOR connection.  While with electrum mobile I use orbit but you have to activate the VPN and add electrum as an app in the orbit list.

I am surprised that BlueWallet works for you.

I use my tor address to connect to my electrum server. Something like this: hsbwdsadsa[...].onion

And I also set port 50001 because I don't use SSL.

But it keeps telling me that "Can't connect to the electrum server provided".



Try entering the port after the .onion it should be something like ajdh1283.....onion:50001 if that doesn't work enter the port in the empty field below the onion address
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 30, 2023, 07:49:32 AM
 #14

Try entering the port after the .onion it should be something like ajdh1283.....onion:50001 if that doesn't work enter the port in the empty field below the onion address

Nope. Unfortunately it doesn't work. "Can't connect to the provided electrum server".

mendace
Sr. Member
****
Offline Offline

Activity: 462
Merit: 603


Pizza Maker 2023 | Bitcoinbeer.events


View Profile WWW
June 30, 2023, 07:53:30 AM
 #15



There are a few things you should provide: Is Node an Umbrel-like plug and play?  Have you installed electrum server?  Are you sure you are entering the electrum server onion address and not the bitcoin core one?  Is Electrum server 100% synchronized?  Is Blue Wallet connected to the tor network?  If yes, with orbot or with the internal one?


Edit




as you can see the tor da blue network works
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 30, 2023, 08:00:55 AM
 #16

There are a few things you should provide: Is Node an Umbrel-like plug and play?  Have you installed electrum server?  Are you sure you are entering the electrum server onion address and not the bitcoin core one?  Is Electrum server 100% synchronized?  Is Blue Wallet connected to the tor network?  If yes, with orbot or with the internal one?

Node is Umbrel.

Yes I have installed ElectrS and is fully synced, as well as Bitcoin Core.

Yes the onion link is the Electrum Server one and I have used it with Electrum and Orbot and it works ok, as I have mentionned above.

I have tried both the internal BW tor service and Orbot.

P.S the reason I haven't provided much info, is that I have found a solution with Electrum as someone suggested above. It works with orbot. So, I don't really care if BlueWallet works, but, it is a good exercise to make it work if I can.

Edit: thanks for the screenshot. It says "Done" too for me, but if I get out of this window to view my wallets and then go back, it says "NOTINIT" again

mendace
Sr. Member
****
Offline Offline

Activity: 462
Merit: 603


Pizza Maker 2023 | Bitcoinbeer.events


View Profile WWW
June 30, 2023, 11:49:39 AM
 #17

There are a few things you should provide: Is Node an Umbrel-like plug and play?  Have you installed electrum server?  Are you sure you are entering the electrum server onion address and not the bitcoin core one?  Is Electrum server 100% synchronized?  Is Blue Wallet connected to the tor network?  If yes, with orbot or with the internal one?

Node is Umbrel.

Yes I have installed ElectrS and is fully synced, as well as Bitcoin Core.

Yes the onion link is the Electrum Server one and I have used it with Electrum and Orbot and it works ok, as I have mentionned above.

I have tried both the internal BW tor service and Orbot.

P.S the reason I haven't provided much info, is that I have found a solution with Electrum as someone suggested above. It works with orbot. So, I don't really care if BlueWallet works, but, it is a good exercise to make it work if I can.

Edit: thanks for the screenshot. It says "Done" too for me, but if I get out of this window to view my wallets and then go back, it says "NOTINIT" again

Ok so I guess it's a "bug" between device and software there will be some incompatibility somewhere.  If you want to try again, download SBW Simple wallet bitcoin from fdroid and try to connect the node and use the internal tor connection.
apogio (OP)
Sr. Member
****
Online Online

Activity: 420
Merit: 948



View Profile WWW
June 30, 2023, 11:56:13 AM
 #18

Ok so I guess it's a "bug" between device and software there will be some incompatibility somewhere.  If you want to try again, download SBW Simple wallet bitcoin from fdroid and try to connect the node and use the internal tor connection.

Thank you. I will and I will let you know !

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!