Actions

How-to: Use Electrum Bitcoin Wallet in Whonix ™

From Whonix



Electrum Logo
Bitcoin Logo

Introduction[edit]

Electrum [archive] is a popular Bitcoin wallet. According to the Electrum FAQ [archive]:

How does Electrum work? Electrum’s focus is speed, with low resource usage and simplifying Bitcoin. Startup times are instant because it operates in conjunction with high-performance servers that handle the most complicated parts of the Bitcoin system.

Electrum does not need to download/verify the blockchain and users store their private keys locally.

This is an advantage over some other Bitcoin wallets which are affected by this: if the third-party server were ever compromised, all of the users' bitcoins could be stolen. There is also the possibility that the third-party could lose a user's private keys or walk away with them.

Warnings[edit]

Ambox warning pn.svg.png Warning: Incomprehensive documentation of Electrum. This documentation should not be viewed as a complete guide to Bitcoin, Electrum, all the cryptocurrency privacy issues and all the security issues in which users can loose their cryptocurrency.

See also dedicated wiki pages:

Quote Does Electrum trust servers? [archive]:

[...]

One of the servers, arbitrarily, is selected as the “main” server.

  • The client subscribes to its own addresses (nit: sha256 hashes of scriptPubKeys) so that it would be notified of new transactions touching them. It also synchronizes the existing history of its addresses. This means the client sacrifices some privacy to the server, as the server can now reasonably guess that all these addresses belong to the same entity.
  • As above, confirmed transactions are verified via SPV.
  • The server is trusted about unconfirmed transactions.
  • The server can lie by omission. That is, it can “forget” to mention (both confirmed and unconfirmed) transactions that are relevant to the client.
  • The main server is also used for fee estimates, and is trusted with those (low-high sanity limits are applied in the client)
  • The main server is also used to broadcast the transactions the client makes.

[...]

There can be no blanket recommendation for all users which Bitcoin wallet should be used. It depends on:

  • Technical skill.
  • Personal risk assignment.
  • Financial value in Bitcoin.
  • Time.
  • And probably other factors as well.

While Electrum has better usability (is easier to use), above warnings apply. However, for best security, the official Bitcoin client (bitcoin-qt) should be seriously considered for balances of Bitcoin representing serious financial value. For reasons, see Bitcoin Core.

Install Electrum[edit]

[1]

Installed by default in Whonix-Workstation ™.

Version Numbers[edit]

The binaries-freedom package [archive] is maintained similar to Debian stable frozen packages. binaries-freedom package updates will only include updates which are major releases or releases that fix security or network issues. This is to reduce the maintenance load of the package maintainer.

Should the user wish to use a newer version of Electrum than available in the package, it is possible to uninstall the binaries-freedom package. (Uninstallation is optional if Electrum is manually installed in home folder. [2]) Since Whonix ™ is based on Debian, the user can optionally install Electrum using the usual instructions from the Electrum website. Recommendations from the safely installing software wiki page such as Verifying Software Signatures applies. See also Install Newer Software Versions.

See also Electrum, Manual Installation.

Start Electrum[edit]

Info Users should create a wallet with a strong password!

Please refer to the official Electrum documentation [archive] for comprehensive instructions, as well as more advanced topics like Cold Storage [archive] of private keys.

To start Electrum from start menu.

Start MenuInternetElectrum

To start Electrum from command line, run.

electrum-appimage

Qubes-Whonix ™ users are recommended to configure a Split Bitcoin Wallet [archive] to better protect their private keys. To protect against identity correlation through Tor circuit sharing, follow the instructions below (see Stream Isolation for more information).

Electrum: First Run[edit]

Info These steps enable Stream Isolation for the Electrum application.

1. Configure a manual server connection.

When Electrum is started for the first time, users are met with the prompt: "How do you want to connect to a server?".

Choose Select server manually and press Next.

Figure: Server Setting

Electrum select server manually.png

2. Change the proxy settings. This is useful for Stream Isolation.

The necessary settings are:

  • Proxy: SOCKS5
  • Host: 10.152.152.10
  • Port: 9111

Press Next and the application should be fully functional.

Figure: SOCKS5 Proxy Configuration

Electrum use proxy socks5 .png

Note: If Electrum is already set up but stream isolation was not enabled, then navigate to ToolsNetwork in Electrum to bring up the server and proxy settings.

Uninstallation[edit]

To avoid any issues with Whonix ™ meta package removal, first install the dummy-dependency package.

Install dummy-dependency.

1. Update the package lists.

sudo apt-get update

2. Upgrade the system.

sudo apt-get dist-upgrade

3. Install the dummy-dependency package.

Using apt-get command line parameter --no-install-recommends is in most cases optional.

sudo apt-get install --no-install-recommends dummy-dependency

The procedure of installing dummy-dependency is complete.

Remove the binaries-freedom package.

sudo apt purge binaries-freedom

Done, removal of the binaries-freedom package is complete.

See Also[edit]

Donations[edit]

After installing Electrum, please consider making a donation to Whonix ™ to keep it running for many years to come.

Donate Bitcoin (BTC) to Whonix ™.

Bitcoin accepted here 35wdTVzyYGzRd7W2Wb2dunw3v5Am14sxPX

Whonix donate bitcoin.png

Footnotes[edit]

  1. Electrum Bitcoin Wallet in Whonix ™ Development Notes
  2. A manually installed Electrum won't interfere with the binaries-freedom package. That is, unless the user installs Electrum to folder /usr/bin. (Files in that folder would be replaced when the binaries-freedom package gets updated. However, the Electrum start menu entry might be confusing since the start menu entry would start Electrum from the binaries-freedom package (from folder /usr/bin), and not the manually installed Electrum.


Fosshost is sponsors Kicksecure ™ stage server Whonix old logo.png
Fosshost About Advertisements

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki


Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: 1024px-Telegram 2019 Logo.svg.png Discourse logo.png Matrix logo.svg.png

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png Iconfinder Apple Mail 2697658.png Reddit.jpg Hacker.news.jpg 200px-Mastodon Logotype (Simple).svg.png

We are looking for video makers to help create demonstration, promotional and conceptual videos or tutorials.

https link onion link Priority Support | Investors | Professional Support

Whonix | © ENCRYPTED SUPPORT LP | Heckert gnu.big.png Freedom Software / Osi standard logo 0.png Open Source (Why?)

The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent.