Bitcoin Forum

Bitcoin => Electrum => Topic started by: defa1 on July 20, 2021, 02:55:40 PM



Title: BWT: Connecting Electrum directly to Bitcoin Core
Post by: defa1 on July 20, 2021, 02:55:40 PM
Just wanted to plug a nice piece of software that I've come across: Bitcoin Wallet Tracker - Electrum Plugin

It allows you to connect Electrum directly to your node without having to set up and Electrum Server. You can use it with a pruned node and with multiple Electrum Wallets, only limitation is that you can only use it with a hardware wallet.

https://github.com/bwt-dev/bwt-electrum-plugin


Title: Re: BWT: Connecting Electrum directly to Bitcoin Core
Post by: ranochigo on July 20, 2021, 03:10:46 PM
Most people probably would just use Bitcoin Core alone without having to loop through an Electrum instance.

I'd say it's good if you absolutely need to use Electrum but using Bitcoin Core would be far simpler. With pruned node, you can't really scan the transactions beyond the prune limit. Anyhow, it seems to be quite limited in functionality.


Title: Re: BWT: Connecting Electrum directly to Bitcoin Core
Post by: defa1 on July 20, 2021, 03:28:29 PM
Most people probably would just use Bitcoin Core alone without having to loop through an Electrum instance.

I'd say it's good if you absolutely need to use Electrum but using Bitcoin Core would be far simpler. With pruned node, you can't really scan the transactions beyond the prune limit. Anyhow, it seems to be quite limited in functionality.

A lot of people are using Electrum though, that's what they are used to. Personally, I would like to only use Bitcoin Core with my Coldcard but I'm so used to Electrum now it's hard to switch. Core uses sats / kilobyte for some reason while everything else uses sats / vbyte which might seem like a small thing but I hate it. Also you can't freeze addresses in Core.

True about the pruned node, but this is not an issue when setting up a new wallet. If you have an unpruned node you can prune it after you've connected Elecrum.


Title: Re: BWT: Connecting Electrum directly to Bitcoin Core
Post by: pawanjain on July 20, 2021, 03:46:59 PM
Most people probably would just use Bitcoin Core alone without having to loop through an Electrum instance.

I'd say it's good if you absolutely need to use Electrum but using Bitcoin Core would be far simpler. With pruned node, you can't really scan the transactions beyond the prune limit. Anyhow, it seems to be quite limited in functionality.

I was just discussing on a similar topic with my friend and he told me that we can connect our wallet on our smartphone to use the full node on our pc.
We would be adding our transactions to the mempool ourselves. This way we won't have to rely on a third party to add our bitcoin transactions to the mempool.
Could you let me know if this possible and if yes then how can we do it ?

I use Mycelium wallet on my phone.


Title: Re: BWT: Connecting Electrum directly to Bitcoin Core
Post by: ranochigo on July 20, 2021, 03:58:00 PM
Also you can't freeze addresses in Core.
You can freeze specific UTXOs in Core. Coin control gives you control over the UTXOs that you can use.
I was just discussing on a similar topic with my friend and he told me that we can connect our wallet on our smartphone to use the full node on our pc.
We would be adding our transactions to the mempool ourselves. This way we won't have to rely on a third party to add our bitcoin transactions to the mempool.
Could you let me know if this possible and if yes then how can we do it ?

I use Mycelium wallet on my phone.
IIRC, Mycelium uses their own server. Certain Android wallets are SPVs which gives the user the liberty to specify their full node provided that it has a bloom filter. Else, you can go with Electrum on Android but it requires you to specifically run an Electrum server.

Actually, you can just push the transactions to mempools directly through a full node but I imagine most people aren't very interested in that.


Title: Re: BWT: Connecting Electrum directly to Bitcoin Core
Post by: pawanjain on July 20, 2021, 04:07:18 PM
IIRC, Mycelium uses their own server. Certain Android wallets are SPVs which gives the user the liberty to specify their full node provided that it has a bloom filter. Else, you can go with Electrum on Android but it requires you to specifically run an Electrum server.

Forget Mycelium, I will just import those keys into Electrum but even then how will I be able to run the Electrum Server ?
I tried to search it on google but the whole process seems to have so many steps.

Quote
Actually, you can just push the transactions to mempools directly through a full node but I imagine most people aren't very interested in that.

Can I like use my mobile phone wallet to push transactions to mempool having my full node on a different machine connected to my wallet on mobile phone.


Title: Re: BWT: Connecting Electrum directly to Bitcoin Core
Post by: BlackHatCoiner on July 20, 2021, 04:22:42 PM
Forget Mycelium, I will just import those keys into Electrum but even then how will I be able to run the Electrum Server ?
I tried to search it on google but the whole process seems to have so many steps.
It's a tough procedure if you're not used to it. I had made a thread few months ago: [Questions] Running my own electrum server (https://bitcointalk.org/index.php?topic=5332617.0)

Generally, you'll have to run a Bitcoin node (full or pruned) and install Chris Belcher's EPS (https://github.com/chris-belcher/electrum-personal-server) (Electrum Personal Server). I had tried it and it works like a charm, but it doesn't work if you want it to be public.

You'll have to install ElectrumX (https://electrumx-spesmilo.readthedocs.io/en/latest/) if you want to be part of the electrum network, which is an even tougher process.


Title: Re: BWT: Connecting Electrum directly to Bitcoin Core
Post by: ranochigo on July 20, 2021, 04:44:50 PM
Forget Mycelium, I will just import those keys into Electrum but even then how will I be able to run the Electrum Server ?
I tried to search it on google but the whole process seems to have so many steps.
Electrum private server is pretty much the most straightforward and least resource intensive way of going about it.

Can I like use my mobile phone wallet to push transactions to mempool having my full node on a different machine connected to my wallet on mobile phone.
The purpose of your full node is mostly as a data source. You can connect to any full node to push a transaction.

I've used this wallet (https://play.google.com/store/apps/details?id=de.schildbach.wallet&hl=en) which allows you to connect to specific nodes only.