Litecoin Core
Using Litecoin Core in Whonix. Fully verifying a Litecoin wallet.
Introduction[edit]
Litecoin Core Setup[edit]
Installation[edit]
Perform these steps inside Whonix-Workstation™ (Qubes-Whonix™: anon-whonix
App Qube).
1. Retrieve, verify and add the signing key. [1]
gpg --keyserver keyserver.ubuntu.com --recv-keys 0xD35621D53A1CC6A3456758D03620E9D387E55666
Verify the key fingerprint.
gpg --fingerprint 0xD35621D53A1CC6A3456758D03620E9D387E55666
Expected output:
Key fingerprint = D356 21D5 3A1C C6A3 4567 58D0 3620 E9D3 87E5 5666
2. Download the signed hash sum verification file.
scurl-download https://web.archive.org/https://download.litecoin.org/litecoin-0.21.2.1/linux/litecoin-0.21.2.1-x86_64-linux-gnu.tar.gz.asc
3. Download Litecoin.
scurl-download https://web.archive.org/https://download.litecoin.org/litecoin-0.21.2.1/linux/litecoin-0.21.2.1-x86_64-linux-gnu.tar.gz
4. Verify the hash sum digital signature file.
gpg --verify litecoin-0.21.2.1-x86_64-linux-gnu.tar.gz.asc
If the file is correctly verified, the output will include a statement the signature is good:
Good signature
This output might be followed by a warning as follows.
gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner.
This message does not alter the validity of the signature related to the downloaded key. Rather, this warning refers to the level of trust placed in the Whonix signing key and the web of trust. To remove this warning, the Whonix signing key must be personally signed with your own key.
5. Extract the tar file.
tar xzf litecoin-0.21.2.1-x86_64-linux-gnu.tar.gz
6. Done.
Download, digital signature verification and extraction of Litecoin Core is complete.
Enable Stream Isolation[edit]
1. Optional: Disable networking for the virtual machine.
This step is optional but recommended to ensure stream isolation is always used from the first connection. This step can be omitted if:
- A) The Whonix transparent proxy feature has been disabled; [3] and/or
- B) Proxy settings are configured using the Litecoin Core configuration file
~/.litecoin/litecoin.conf
before the first start. [4]
2. Start Litecoin-Qt as documented further below.
3. Enable Stream Isolation in the client.
- A) navigate to the client settings
- B) locate the Network tab
- C) enable the SOCKS proxy as follows:
- Host:
10.152.152.10
- Port:
9111
- Proxy:
SOCKS5
- Host:
4. Re-enable networking for the virtual machine.
Add a Litecoin-Qt Start Menu Entry[edit]
Perform the following steps to create a litecoin-qt
start menu entry; this procedure is optional.
Inside Whonix-Workstation (Qubes-Whonix: anon-whonix
App Qube).
1. Create folder ~/.local/share/applications
.
mkdir -p ~/.local/share/applications
2. Open file ~/.local/share/applications/litecoin.desktop
in an editor as a regular, non-root user.
mousepad ~/.local/share/applications/litecoin.desktop
3. Paste the following contents.
[Desktop Entry] Name=Litecoin-Qt Comment=litecoin-qt Exec=bash -c '~/litecoin-*/bin/litecoin-qt' Terminal=false Type=Application Icon=money-manager-ex StartupWMClass=litecoin MimeType=x-scheme-handler/litecoin; Categories=Finance;
4. Save.
5. Qubes-Whonix: perform platform-specific steps.
In dom0
, refresh Qubes' appmenu: VM settings
→ Applications
→ Refresh Applications
→ Add desktop shortcut
.
6. Done.
The Litecoin-Qt
start menu entry should now be available.
Autostart Litecoin-Qt[edit]
Perform these steps to automatically start Litecoin-Qt
; this step is optional.
Inside Whonix-Workstation (Qubes-Whonix: anon-whonix
App Qube).
1. Apply the Add a Litecoin-Qt Start Menu Entry instructions first.
2. Create folder ~/.config/autostart
.
mkdir -p ~/.config/autostart
3. Create a symlink from ~/.local/share/applications/litecoin.desktop
to ~/.config/autostart/litecoin.desktop
.
ln -s ~/.local/share/applications/litecoin.desktop ~/.config/autostart/litecoin.desktop
4. Done.
Litecoin-Qt
will now automatically start the next time the VM is booted.
Start from Command Line[edit]
To start Litecoin-Qt
(part of Litecoin Core) from the command line, run.
~/litecoin-*/bin/litecoin-qt
Creating a Watch-Only Wallet[edit]
- Start
Litecoin-Qt
. Window
→Console
- Import address.
Note: replace address
with the actual address to be watched.
importaddress address
Footnotes[edit]
We believe security software like Whonix needs to remain open source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!