Bitcoin Forum
November 12, 2024, 07:49:27 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Running personal server for Electrum  (Read 371 times)
BitcoinGirl.Club (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 2785


Bitcoingirl 2 joined us 💓


View Profile WWW
June 27, 2020, 10:59:54 AM
 #1

I was wondering if there are any step by step guide on how to run a personal server for Electrum to protect ones privacy. We all know those servers we connect to broadcast a tx know your IP and some other information. Lately I am thinking of running my own server. I would appreciate some guides.

Thanks

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
igor72
Legendary
*
Offline Offline

Activity: 2016
Merit: 2081


Crypto Swap Exchange


View Profile
June 27, 2020, 12:50:52 PM
 #2

https://github.com/chris-belcher/electrum-personal-server

█▀▀▀











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











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

Activity: 1624
Merit: 2481



View Profile WWW
June 27, 2020, 01:10:54 PM
 #3

Alternatively, you can switch to an SPV client which does not leak your data.
I'd recommend Wasabi. It is open source, privacy- and security orientated and is available for windows, linux and mac.

If you want to set up your own personal electrum server, the github link posted by igor72 should give you the information you need.

ABCbits
Legendary
*
Offline Offline

Activity: 3052
Merit: 8075


Crypto Swap Exchange


View Profile
June 27, 2020, 01:49:21 PM
Merited by BitcoinGirl.Club (2)
 #4

Since you have privacy concern, i suggest you to create new wallet after using your own Electrum server. Make sure you transfer the Bitcoin in private manner (e.g. use mixer or coinjoin).

If you plan to use Tor, make sure Bitcoin Core is configured to use Tor,
* If you're only interested to use Tor, check https://bitcoin.stackexchange.com/a/70070
* If you're also interested to act as full nodes through Tor hidden service, check https://en.bitcoin.it/wiki/Setting_up_a_Tor_hidden_service

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BitcoinGirl.Club (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 2785


Bitcoingirl 2 joined us 💓


View Profile WWW
June 27, 2020, 02:38:15 PM
Last edit: May 14, 2023, 05:01:40 PM by BitcoinGirl.Club
 #5

Alternatively, you can switch to an SPV client which does not leak your data.
I'd recommend Wasabi. It is open source, privacy- and security orientated and is available for windows, linux and mac.

If you want to set up your own personal electrum server, the github link posted by igor72 should give you the information you need.

I am trying to figure out Wasabi wallet but it seems I am still on the "connecting". does it take too long time to download the blocks?



Thanks brother for this.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 27, 2020, 02:47:54 PM
 #6

I am trying to figure out Wasabi wallet but it seems I am still on the "connecting". does it take too long time to download the blocks?



Actually i am not sure whether there should be "connecting.." or "synchronizing.." while doing the initial sync.
But since you are successfully connected to the backend, i guess that's fine.
 
Instead of sending all of your addresses to a server (as electrum is doing), Wasabi uses compact block filters.
The initialization process determines which blocks you need to download (all blocks where an address from you is used).
These blocks are then being downloaded from different nodes (Switching the node after downloading 1 block from them via TOR).

Overall, the initial synchronization shouldn't take longer than 20-30 minutes.


Can you verify whether the amount of filters (124763) actually decreases ?

khaled0111
Legendary
*
Offline Offline

Activity: 2702
Merit: 3045


Top Crypto Casino


View Profile WWW
June 27, 2020, 04:16:51 PM
 #7

Actually i am not sure whether there should be "connecting.." or "synchronizing.." while doing the initial sync.
It shows "Connecting" at first when trying to connect to other peers then it changes to "Synchronizing".
It won't synchronize until it connects to other peers as they are needed to download blocks. Usually it doesn't take more than few minutes unless there is something wrong with your connection.
Most of the times, simply turning off Tor then turning it on would fix the problem (wait till your wallet successfully connects to other peers before turning it on).

BitcoinGirl.Club (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 2785


Bitcoingirl 2 joined us 💓


View Profile WWW
June 27, 2020, 05:49:03 PM
 #8

Can you verify whether the amount of filters (124763) actually decreases ?
It decreased eventually.

Now here is something which is not making sense for me.

I created a wallet then sent some coins. I have the seed and the password.

Now in my other computer I installed Wasabi again and then wanted to recover the wallet. I only need the seed and the password but when I recovered the wallet I see no balance in it. In the first computer it shows the balance but in the 2nd computer it shows no balance.

What am I missing?

Edit: In the wallet info section I see both has same private key and other information.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
khaled0111
Legendary
*
Offline Offline

Activity: 2702
Merit: 3045


Top Crypto Casino


View Profile WWW
June 27, 2020, 06:15:54 PM
 #9

Can you verify whether the amount of filters (124763) actually decreases ?
...

Most probably the wallet you installed on the second computer didn't finish syncing.
Since you backed up the seed and the second wallet generated the same addresses and same private keys then your funds are safe (you still can use the first wallet anyways)

BitcoinGirl.Club (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 2785


Bitcoingirl 2 joined us 💓


View Profile WWW
June 27, 2020, 06:21:03 PM
Last edit: May 14, 2023, 05:01:35 PM by BitcoinGirl.Club
 #10

Most probably the wallet you installed on the second computer didn't finish syncing.
Since you backed up the seed and the second wallet generated the same addresses and same private keys then your funds are safe (you still can use the first wallet anyways)
I am still using the first computer but this is really something that is worrying me. I think the 2nd computer already synced since it says ready in the bottom part of the status bar I guess.



I tried several ways and still see zero balance in the 2nd computer.

Quote
Mnemonic Recovery Words and Password
Back up Wallet File and Password
https://docs.wasabiwallet.io/using-wasabi/WalletRecovery.html#mnemonic-recovery-words-and-password

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 27, 2020, 06:30:48 PM
 #11

Now in my other computer I installed Wasabi again and then wanted to recover the wallet. I only need the seed and the password but when I recovered the wallet I see no balance in it. In the first computer it shows the balance but in the 2nd computer it shows no balance.

What am I missing?

Edit: In the wallet info section I see both has same private key and other information.

One of the most common mistakes probably would be entering the words of the mnemonic code in the wrong order.
They are not labeled like this:

010203
040506
070809
101112

but:

010509
020610
030711
040812


But since you were able to recreate your wallet using the mnemonic code and the passphrase, this seems quite odd to me.
If it shows the same xpub/zpub, it actually is the same wallet.


Did you already generate a receiving address in your 2nd wallet?

BitcoinGirl.Club (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 2785


Bitcoingirl 2 joined us 💓


View Profile WWW
June 27, 2020, 06:35:54 PM
 #12

But since you were able to recreate your wallet using the mnemonic code and the passphrase, this seems quite odd to me.
If it shows the same xpub/zpub, it actually is the same wallet.


Did you already generate a receiving address in your 2nd wallet?

The xpub amd zpub are the same I have checked them again and again.
I just generated a receiving address in the 2nd wallet not knowing how it's going to help.

Still the balance is zero in the 2nd wallet.

By the way, if the tx is unconfirmed then is there a possibility not to show in a restored wallet? The tx is unconfirmed.

Edit: Is there anyway, to restore this wallet using Electrum? Using the passphrase and the password. Will it be the same wallet? I doubt.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 27, 2020, 06:59:13 PM
 #13

By the way, if the tx is unconfirmed then is there a possibility not to show in a restored wallet? The tx is unconfirmed.

This is very well imaginable and the only thing i can think of why it is not being shown yet.
I just tested it myself (on the same machine, but removing all wallet files temporarily) and it worked fine (transaction was confirmed already).



Edit: Is there anyway, to restore this wallet using Electrum? Using the passphrase and the password. Will it be the same wallet? I doubt.

Wasabi is following BIP39, so yes you can restore it in electrum (or any other wallet supporting BIP39):
  • Choose "Standard wallet" and "I already have a Seed"
  • Click on "Options" and tick the "BIP 39 Seed" and "Extend with custom words" box
  • Enter your password in the seed extension window
  • In the next window, choose "native segwit (p2wpkh)"

BitcoinGirl.Club (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 2785


Bitcoingirl 2 joined us 💓


View Profile WWW
June 27, 2020, 08:06:53 PM
Merited by bob123 (2)
 #14

This is very well imaginable and the only thing i can think of why it is not being shown yet.
I just tested it myself (on the same machine, but removing all wallet files temporarily) and it worked fine (transaction was confirmed already).
The lesson here is, without having any onchain confirmation (one confirmation needed minimum) or broadcast a tx while same wallet is not active in more than one machine, wasabi client do not sync. I hope it make sense. When I dropped the tx, replaced with higher fees just to drop the tx that was already exists, the coin showed up in both machine.

Then I tried to send another tx. It showed up instantly in the machine which was used to generate the address but did not showed up in the another machine until the tx had one confirmation.

Wasabi is following BIP39, so yes you can restore it in electrum (or any other wallet supporting BIP39):
  • Choose "Standard wallet" and "I already have a Seed"
  • Click on "Options" and tick the "BIP 39 Seed" and "Extend with custom words" box
  • Enter your password in the seed extension window
  • In the next window, choose "native segwit (p2wpkh)"
Yeah it worked. I messed up with this extended seed thing LOL
It was unable to figure out that the password will be used as extended seed.

 

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 27, 2020, 08:22:23 PM
 #15

I'm glad you got it sorted out.


It was unable to figure out that the password will be used as extended seed.

Yes, electrum could have been a bit more precise.
It is more of a password protection than an additional seed word.

Without a password, an empty string ("") is being used.

khaled0111
Legendary
*
Offline Offline

Activity: 2702
Merit: 3045


Top Crypto Casino


View Profile WWW
June 27, 2020, 08:58:06 PM
 #16

The lesson here is, without having any onchain confirmation (one confirmation needed minimum) or broadcast a tx while same wallet is not active in more than one machine, wasabi client do not sync.
It's not that your wallet will not sync, but if your wallet was offline during the broadcast of the unconfirmed transaction, it will not know about the existence of such transaction until it gets confirmed.
=> the wallet has to be online during the broadcast of the unconfirmed transaction between peers it's connected to.

note: if you are going to use the CoinJoin feature, then it's not recommanded to run more than an instance of Wasabi on the same device.

BitcoinGirl.Club (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 2785


Bitcoingirl 2 joined us 💓


View Profile WWW
June 28, 2020, 09:20:11 AM
 #17

note: if you are going to use the CoinJoin feature, then it's not recommanded to run more than an instance of Wasabi on the same device.
I am working on CoinJoin and it's all mess in the 2nd device LOL

It's a great thing to know how the CoinJoin works but the client really needs some kind of upgrade so that it can sync internally no matter how many windows open or how many devices are in use for the same wallet. Also the CoinJoin itself needs improvements I guess. If you close your application after enqueuing your coins then you are lost again. You can not close your application until the entire CoinJoin is done. People always do not keep their system on so in this case the mixing sites seem to be a good solution.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 28, 2020, 10:20:33 AM
Merited by ABCbits (3)
 #18

Also the CoinJoin itself needs improvements I guess. If you close your application after enqueuing your coins then you are lost again. You can not close your application until the entire CoinJoin is done.

It is required for you to keep the application open because you are required to sign the given transaction in a timely manner.
Every participant has to sign the transaction. Enqueuing and closing the wallet won't work.

That's why you need to confirm your input during the registration phase.
Once the time is over (or an anonymity set of 100 is reached), every user connects to a new tor circuit and sends the coordinator the output address and the blind signature.
After all participants did that, the coordinator builds the transaction and everyone has to sign it.

Since this is an interactive process, you need to be online when the mixing happens.
If you queue in right before the round starts, you'll be done in a minute. However, if a round just ended it takes up to 1 hour (or until 100 participants registered) until the coinjoin is being done.

BitcoinGirl.Club (OP)
Legendary
*
Offline Offline

Activity: 2954
Merit: 2785


Bitcoingirl 2 joined us 💓


View Profile WWW
June 28, 2020, 10:43:06 AM
 #19

It is required for you to keep the application open because you are required to sign the given transaction in a timely manner.
Every participant has to sign the transaction. Enqueuing and closing the wallet won't work.

That's why you need to confirm your input during the registration phase.
Once the time is over (or an anonymity set of 100 is reached), every user connects to a new tor circuit and sends the coordinator the output address and the blind signature.
After all participants did that, the coordinator builds the transaction and everyone has to sign it.

Since this is an interactive process, you need to be online when the mixing happens.
If you queue in right before the round starts, you'll be done in a minute. However, if a round just ended it takes up to 1 hour (or until 100 participants registered) until the coinjoin is being done.
Yeah from last 24 hours I am having lots of reading about Wasabi and CoinJoin. It's a new experience for me. I guess receiving fund and for mixing wasabi is great but not for holding your coin for long time. I am still happy with Electrum and my previous settings. Additionally I am using tor node for Electrum.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
khaled0111
Legendary
*
Offline Offline

Activity: 2702
Merit: 3045


Top Crypto Casino


View Profile WWW
June 28, 2020, 03:42:57 PM
 #20

In fact, Wasabi is as secure and easy to use as Electrum. You just need more time to get used to it and learn about all its features and how to configure it properly.
The only inconvinience when using Wasabi is the longer time it takes to synchronize compared to Electrum and other SPV wallets.

People always do not keep their system on so in this case the mixing sites seem to be a good solution.
CoinJoin main advantage is that it allows you to mix your coins in a decentralized way. You don't have to trust any third party.
When using a regular mixer, you have no guarantees that they don't keep logs of your activity/personal information.

Pages: [1] 2 »  All
  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!