Bitcoin Forum

Bitcoin => Electrum => Topic started by: PawGo on January 20, 2023, 12:25:52 PM



Title: Mobile wallet with Electrum server via Tor
Post by: PawGo on January 20, 2023, 12:25:52 PM
Hello

Is there any working mobile wallet which allows TOR connection to custom Electrum server?
I ask because until now BlueWallet was my favourite one (using normal IP), but using TOR server is impossible, connection fails. I have seen many complaints, apparently that feature is broken. At least for me it is unusable, so that's why I look for alternatives.

Anyone recommends any other tool?


Title: Re: Mobile wallet with Electrum server via Tor
Post by: Husires on January 20, 2023, 02:07:03 PM
Hello

Is there any working mobile wallet which allows TOR connection to custom Electrum server?
Did you try Samourai Wallet (https://samouraiwallet.com/) or wasabiwallet (https://wasabiwallet.io/)? AFAIK wasabiwallet is not compatible with Electrum Personal Server but its a good solution for TOR, anyway Samourai Wallet should work.


Title: Re: Mobile wallet with Electrum server via Tor
Post by: Charles-Tim on January 20, 2023, 03:00:11 PM
If you want a mobile compatible one, try Orbot to create a Tor connection. Only what you do is to download Orbot, select its setting icon and check Electrum. But you will need to always enable Orbot and make sure the connection is 100% anytime you want to make use of Electrum or the app you want to use with it.

Did you try Samourai Wallet (https://samouraiwallet.com/) or wasabiwallet (https://wasabiwallet.io/)? AFAIK wasabiwallet is not compatible with Electrum Personal Server but its a good solution for TOR, anyway Samourai Wallet should work.
Wasabi do not have a mobile version. Tor can connect with enabled app like Electrum on computer, unlike mobile phones that it is just a browser.


Title: Re: Mobile wallet with Electrum server via Tor
Post by: DireWolfM14 on January 20, 2023, 04:27:49 PM
I think the issue isn't so much the wallets, but getting a Tor connection on your phone.  The Tor Project recently released Orbot, a Tor service app for Android (https://play.google.com/store/apps/details?id=org.torproject.android&hl=en_US&gl=US) phones, but I don't know if one is available for iPhones.  I've used Orbot to connect my Electrum mobile wallet to my personal ElectrumX and Electrs servers through Tor.  It's slow to connect but it'll get there eventually.


Title: Re: Mobile wallet with Electrum server via Tor
Post by: dkbit98 on January 20, 2023, 10:28:08 PM
Is there any working mobile wallet which allows TOR connection to custom Electrum server?
I ask because until now BlueWallet was my favourite one (using normal IP), but using TOR server is impossible, connection fails. I have seen many complaints, apparently that feature is broken. At least for me it is unusable, so that's why I look for alternatives.
Are you looking for Android or iPhone mobile wallet?
One wallet I know is using in-built Tor connection is called Unstoppable.money, it is decent open source wallet but I am not sure if you can connect custom electrum servers.
Trezor Suite is currently working on mobile wallet that can be connected with Trezor hardware wallet, but meanwhile you can use their desktop wallet that has Tor switch, or maybe try their web version.



Title: Re: Mobile wallet with Electrum server via Tor
Post by: BitMaxz on January 20, 2023, 11:23:45 PM
Electrum mobile only has 2 options to connect Electrum to the server Socks4 and socks5 is the only option where you can hide your Electrum wallet to connect to a custom server.

However, you can make your own electrum server locally with hidden tor service and connect your Electrum mobile directly to your server by typing it manually in network settings just make sure to disable multiple connections and enable the one server only. Additional privacy option while connecting to your Tor Electrum server you can configure your proxy to socks5.


Title: Re: Mobile wallet with Electrum server via Tor
Post by: n0nce on January 21, 2023, 12:31:55 AM
Hello

Is there any working mobile wallet which allows TOR connection to custom Electrum server?
I ask because until now BlueWallet was my favourite one (using normal IP), but using TOR server is impossible, connection fails. I have seen many complaints, apparently that feature is broken. At least for me it is unusable, so that's why I look for alternatives.

Anyone recommends any other tool?
Keep in mind that you'd also need to run BlueWallet's GroundControl (https://github.com/BlueWallet/GroundControl) on a server, otherwise your phone will send them your xpub, even when having a custom Electrum server set up.

I do know that Foundation Devices' Envoy app supports Tor over Electrum and tried it myself, however it has no 'software wallet' mode and only works with a Passport. It has no push notifications whatsoever and I roughly checked their codebase which looked good in this regard as well.


Title: Re: Mobile wallet with Electrum server via Tor
Post by: PawGo on January 21, 2023, 08:35:03 AM
If you want a mobile compatible one, try Orbot to create a Tor connection. Only what you do is to download Orbot, select its setting icon and check Electrum. But you will need to always enable Orbot and make sure the connection is 100% anytime you want to make use of Electrum or the app you want to use with it.

Yes, that workaround works. I did not think about it, thanks!
Orbot acts as a VPN for all the connections, but I may live with it, as long as it allows BlueWallet to connect to the given server.

On the other hand, after I reinstalled BlueWallet integrated TOR seems to start and work correctly almost always. But it is good to have a Plan B.