V i c t o r y ! (sort of)
Later note: I managed to install Electrs too. I will provide steps at a later point. Electrs allows as many wallets as you want and block explorer too. I find that a better approach.With some knowledge earned from last night's tests with Sparrow wallet and from reading
a tutorial for RasPi which I found better than
the one everybody reads it, I managed to make
Electrum Personal Server work on my Windows.
Highlightsbitcoin.conf must have:
txindex=1
server=1
I have some more (probably unnecessary) things from the previous tests with various servers, but if there are problems, these can be added:
dbcache=2400
rpcbind=127.0.0.1
zmqpubhashblock=tcp://127.0.0.1:8433
rpcallow=127.0.0.1
In EPS config.ini I added only 2 lines, nothing else had to be changed (during my tests I had other settings there and just made the things worse).
myHWallet = zpub12345678901234567890 <- put your own zPub
datadir = x:\BitcoinDataDir
One thing (or two) that was always missing in my tests and may be just the part I've missed in the official tutorial (
thank you Sparrow wallet) :
bitcoin-cli.exe -datadir=x:\BitcoinDataDir createwallet myHWallet
in subsequent runs it will be
bitcoin-cli.exe -datadir=x:\BitcoinDataDir loadwallet myHWallet
From here, according to the tutorial:
electrum-personal-server.exe config.ini
electrum-personal-server-rescan.bat config.ini
Now Electrum connects:
electrum --oneserver --server 127.0.0.1:50002:s
I have a new problem now.
For now I am testing with my current HW having quite a number of addresses and transactions.
But most of my addresses are displayed with red background, my transactions are shown as "This transaction is only available on your local machine", and the final sum of coins shown is 0.
Something is incorrect and I don't even know where (any ideas?).
Of course that I'd also prefer a server that works with more wallets. But it's a start.
If you're looking for simple setup, you should use ElectrumX which packaged on Docker (
https://github.com/lukechilds/docker-electrumx). You just need to run one command to run ElectrumX server. But AFAIK installing Docker on Windows is a bit annoying.
Thank you. I will look into this too; hopefully tomorrow.