← Back to list

LiteCoin Cash [LCC] QT-full-wallet for Raspberry Pi 3B/3B+ on Raspbian Debian LINUX desktop…

Hello LCC community, belivers, holders or just random person from around the World. Here is a little tutorial for How to make a QT…

Uros Spenko · 2019-02-01 12:20 · 113 claps · 12.3 min read
#raspberry-pi #litecoincash #hive-mining #mining-pow #cryptocurrency-mining
Open on Medium ↗
Wiki topics: CRY · Crypto & Web3 📟 · Gadgets & IoT 🔓 · Open Source 🎮 · Gaming

LiteCoin Cash (LCC) core wallet on Raspberry Pi 3B/3B+ with HIVE mining support — new ERA is written

MAY THE HIVE BEE WITH YOU

Hello LCC community, believers, holders or just random person from around the World. Here is a little tutorial for How to make an QT LiteCoin Cash full wallet with Raspberry PI 3+ Raspbian Debian Desktop Linux.

1.st OPTION — With my litecoincash-rpi.sh autoscript, no need to type all the commands manually…

You can download the script from here http://bit.ly/4LCC-PI, please continue to read BASIC installation FIRST!

2.nd OPTION — Manual run the commands in console/ LX terminal

BASIC INSTALLATION — DO NOT SKIP IT!

Here we START with BASIC installation of SD card, IMG file download, write IMG file, basic configuration etc…:

STEP 1: Buy one Raspberry Pi 3 model B/B+ (I have bought one from RS and Farnell and you can find it also on e-bay).

I have tested on RPI 3B and RPI 3B+ v.1.4, which as they are almost identical, and both working amazingly!).

RASPBERRY PI B3+ technical information:

  • Broadcom BCM2837B0, Cortex-A53 (ARMv8) 64-bit SoC @ 1.4GHz, Bluetooth 4.2/BLE, and Power-over-Ethernet support (with separate PoE HAT), 2.4GHz and 5GHz IEEE 802.11.b/g/n/ac wireless LAN, Gigabit Ethernet over USB 2.0 (maximum throughput 300 Mbps)…

STEP 2: Download and copy latest Raspberry Stretch with desktop to your SD card with your favorite program (Etcher or Win32DiskImager (you need at least 16 GB Card, but it’s better to have 36GB, or 8GB SD CARD + extra USB memory stick with at least 32GB free memory — because of the size of blockchain, now is already over 15GB) https://www.raspberrypi.org/downloads/raspberry-pi-desktop/

(Download Raspbian Desktop for Raspberry Pi)

I suggest that you use an extra USB memory stick 32 GB or more to save the blockchain on USB, because of the lack of write access on with SD cards.

There is also a tutorial on how to prepare SD card to be readable in Raspberry PI 3…If you card is FAT 32 formatted than you are good to go otherwise read this :

Format the SD card

Anything that’s stored on the SD card will be overwritten during formatting. So if the SD card on which you want to install Raspbian currently has any files on it, e.g. from an older version of Raspbian, you may wish to back these files up first to not lose them permanently.

  • Visit the SD Association’s website and download SD Formatter 4.0 for Windows or Mac.
  • Follow the instructions to install the software.
  • Insert your SD card into the computer or laptop’s SD card slot and make a note of the drive letter allocated to it, e.g. F:/.
  • In SD Formatter, select the drive letter for your SD card, and the format the card.

Now let’s write OS to SD card, Here you can find tutorials for Linux, MAC and Windows, https://www.raspberrypi.org/documentation/installation/installing-images/README.md, but it is very simple, so just follow this:

STEP 2A: Etcher is a graphical SD card writing tool that works on Mac OS, Linux, and Windows, and is the easiest option for most users. Etcher also supports writing images directly from the zip file, without any unzipping required.

  • Download Etcher and install it.
  • Connect an SD card reader with the SD card inside.
  • Open Etcher and select from your hard drive the Raspberry Pi .img or .zip file you wish to write to the SD card.
  • Select the SD card you wish to write your image to.
  • Review your selections and click ‘Flash!’ to begin writing data to the SD card.

! SELECT THE RIGHT DEVICE/drive, AFTER THIS PROCESS ALL DATA ON YOUR SELECTED DRIVE WILL BE DELETED!

STEP 2.B) For win32diskimager users here is a little preview of how to burn SD card:

Load IMG file from the previous link https://www.raspberrypi.org/downloads/raspberry-pi-desktop/

( do not forget to extract the archive file, BUT you must use)

Picture 1 — download and SD card prepare!

Picture 1 — download and SD card prepare!

and press WRITE, after done writing IMAGE file to SD card with Etcher or Win32Disk Imager, insert SD CARD into RASPBERRY PI, and power it ON!!

Picture 2 WELCOME SCREEN ON Raspberry with OS Raspbian Dekstop

Picture 2 WELCOME SCREEN ON Raspberry with OS Raspbian Dekstop

STEP 3 : Connect your Raspberry Pi3 to the internet (wired or wireless).

STEP 4 : And here we have two OPTIONS as mentioned:

STEP 4.1: 1. Option

When the system boot up for the 1.st time, configure on welcome screen…and follow the welcome screen…

And also do not forget to UPDATE…Check these pictures….

Picture 3: Set Country, Language, Timezone…

Picture 3: Set Country, Language, Timezone…

Picture 4: Setting up…

Picture 4: Setting up…

Picture 5: Enter yours secure not too short password and confirm it.

Picture 5: Enter yours secure not too short password and confirm it.

PRESS NEXT TO UPDATE THE SOFTWARE

Picture 6: Update Software, do not skip this!

Picture 6: Update Software, do not skip this!

UPDATING…

Picture 7: Update and upgrade by OS RASPBIAN update

Picture 7: Update and upgrade by OS RASPBIAN update

SYSTEM UPDATE OK

Picture 8: System is now up to date

Picture 8: System is now up to date

NOW WE NEED TO REBOOT THE SYSTEM, press reboot!

Picture 9: Reboot

Picture 9: Reboot

  1. Download the file litecoincash-rpi.sh from http://bit.ly/4LCC-PI, if you need any help join LiteCoin Cash discord https://discord.gg/NYdut3k at #mining channel

*#PERMISSIONS CHANGE of .sh files#

  1. Go to Folder Downloads, right click on litecoincash-rpi.sh, and change permissions, like on this picture and PRESS OK!

Picture 10: File Permissions

Picture 10: File Permissions

DOUBLE LEFT CLICK on litecoincash-rpi.sh than klick on EXECUTE in TERMINAL

Picture 11: Execute File in terminal

Picture 11: Execute File in terminal

That is almost all, only one thing to mention in the first 2–3 minutes you will have to confirm sometimes to continue downloading files…, just type/press (Y + ENTER) to continue… then relax and wait approx 2h and 30 min…

Your new LiteCoin Cash CORE wallet v. 0.16.0.2 is compiled/build and you HAVE shortcut on your Desktop also.

# UPDATE 10.1.2019

After finishing the compilation I would suggest disabling SWAP file to do this run this 2 commands and change line:

sudo nano /etc/dphys-swapfile

An editor will open the file dphys-swapfile, CHANGE this 2 lines,

CONF_SWAPSIZE=0

CONF_MAXSWAP=4096

SAVE AND CLOSE with: CTRL + O than ENTER than CTRL + X to EXIT

In terminal now type this:

sudo /etc/init.d/dphys-swapfile restart

Or if you prefer scripts, you can download it here:http://bit.ly/LCC-PI-SWAP-OFF

Do not forget to change the Permissions

*look in #PERMISSIONS CHANGE of .sh files#

# UPDATE 8/1/2019

AUTO STARTUP wallet LiteCoin Cash when Raspberry PI power on or in case of a power failure your Raspberry PI will AUTO startup and HIVE MINING will continue without any problems and will not miss BLOCK’s ( maybe only some of them…). Download this script http://bit.ly/4LCC-PWON.

When you download it, RUN the Terminal go to your downloads folder, run these commands:

sudo chmod +x Raspberry-PI-autostartup-LCC-wallet-on-boot.sh

and then start the script by typing this in terminal

./Raspberry-PI-autostartup-LCC-wallet-on-boot.sh

Raspberry PI will REBOOT, calm down, take a cup of coffee or one biscuit!

After your Raspberry PI power on, your wallet should also start up.

***If you installed OS from the NOOBS, there is a problem, because folder /settings does not exist /home/pi/.config/lxsession/LXDE-pi/autostart

### update 26/12/2018; HIVE MINING UPDATE — TESTNET

UPDATE for the HIVE MINING on TESTNET — enabled in the wallet

If you would like to enable HIVE MINING TESTNET in LiteCoin CASH core wallet and try the revolutionary addon by LCC solution against 51% attack.

To run wallet in TESTNET you will have to:

  1. BACKUP your wallet.dat of your core wallet, and save it to 2 different locations (HDD/USB/SD card etc.). GO TO Wallet >FILE > Backup wallet… select name and location where to save and click SAVE. ( SAVE AS +MANY TIME you like, but trust me to do it at least 2 times!)

2.A) 1.st option: Open terminal and type this if your default folder is in /home/pi/.litecoincash/, this command will create a directory in home/pi/.litecoincash/ and add file litecoincash.conf and add text line: to its file testnet=1, so for running on LiteCoin Cash core wallet testnet you need testnet=1 in the litecoincash.conf file!

mkdir ~/.litecoincash && sh -c -e ‘echo “testnet=1” >> ~/.litecoincash/litecoincash.conf’

sh -c -e ‘echo “testnet=1” >> ~/.litecoincash/litecoincash.conf’

2.B)2.nd option: Or you can simply find your ./litecoincash data folder and add/create file litecoincash.conf and add this line: testnet=1, save and close the file and restart the wallet

2.C) 3.rd option is to go to the wallet click >SETTING > OPTIONS > MAIN and click on the > Open Configuration File,

and confirm opening…then add a line: testnet=1 save, close and restart the wallet!

2. D) 4.th option, is to add SHORTCUT ICO TO THE DESKTOP

  1. Register on DISCORD https://discord.gg/NYdut3k, for help, info, news etc.
  2. Register also with TIPSY(tLCC) testnet discord https://discord.gg/a3mQdky
  3. At the Tipsy (tLCC)testnet, type ?begin
  4. There you will get from members some test LCC coins (tLCC testnet coins), ask, do not be afraid, you will get them from our members, do not worry…
  5. Read these instructions also here https://hive.litecoinca.sh/testnet/
  6. Transfer your tLCC from testy to your core wallet (address must start with Q)

Format: ?collect [tLCC address] [amount]

Example: ?collect QQDLZZhhZzarELFBdgrtkzAkgDqa7f1ghy 1000

This means you will send 1000tLCC to your core wallet ( testnet wallet)

You will have wait for 6 confirmations (15 min) to be able to spend tLCC for buying BEES in HIVE mining ( testnet) at the time of writing.

Use the tLCC coin in the LCC Testnet wallet to buy bees and start Hive mining

LiteCoin Cash — Wallet (testnet)

LiteCoin Cash — Wallet (testnet)

The wallet address for TESTNET starts with QQ………………………

The wallet for testent has in the name of the wallet in ()> (testnet)

Wallet (testnet)

Wallet (testnet)

And here you can find very good explanations about How to buy bees…

Check out the Beekeeper’s Guide and create some bees!

### end of update: 26.12.2018

########## END OF AUTOSCRIPT MANUAL

NEXT is MANUAL compile step by step if you need it

STEP 4.2–2.nd OPTION — MANUAL compile

Open a terminal window and update first if you didn't do this in step 4.1

sudo apt-get update && sudo apt-get upgrade

I would suggest making a swap partition of 4Gb

sudo nano /etc/dphys-swapfile

An editor will open the file dphys-swapfile, add/or CHANGE this 2 lines if you have,

Normally the preconfigured file is with CONF_SWAPSIZE=100 change to

CONF_SWAPSIZE=4096

CONF_MAXSWAP=4096

SAVE AND CLOSE with: CTRL + O than ENTER, then CTRL + X to EXIT

In terminal now type this:

sudo /etc/init.d/dphys-swapfile restart

Picture 11: Swapfile

Picture 11: Swapfile

Important information: Be sure to execute all commands in one opened terminal.

STEP 5: Our repositories are updated and we can setup the required software. Run command (copy all — please check twice if you did copy all)!!!

sudo apt-get install build-essential libtool autotools-dev autoconf automake pkg-config libssl-dev libboost-all-dev bsdmainutils libqrencode-dev libminiupnpc-dev libevent-dev libcap-dev libseccomp-dev git libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler

When prompted press Y to continue…

Picture 12: STEP 5

Picture 12: STEP 5

STEP 6: Now we have all of the required software. So we are ready for work. Let’s download the LiteCoinCash wallet source code. Run command

git clone — recursive https://github.com/litecoincash-project/litecoincash.git

cd litecoincash

STEP 7: Run the command:

LCC_ROOT=$(pwd) && BDB_PREFIX=”${LCC_ROOT}/db4" && mkdir -p $BDB_PREFIX

Picture 13: Step 7

Picture 13: Step 7

STEP 8: Let’s prepare Berkley libraries for our installation. They are required too for compiling Litecoin cash wallet, but we should install them manually with some flags. Run these commands:

cd .. && wget ‘http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'

tar -xzvf db-4.8.30.NC.tar.gz && cd db-4.8.30.NC/build_unix/

../dist/configure — enable-cxx — disable-shared — with-pic — prefix=$BDB_PREFIX

Picture 14: STEP 8

Picture 14: STEP 8

make install

Picture 15: make install

Picture 15: make install

STEP 9: Okay Berkley libraries is done, now let’s configure LiteCoinCash source code for installation. Run these three commands:

cd $LCC_ROOT

./autogen.sh

./configure — disable-tests — with-gui=qt5 LDFLAGS=”-L${BDB_PREFIX}/lib/” CPPFLAGS=”-I${BDB_PREFIX}/include/”

#UPDATE 31.12.2018

# Clone OpenSSL v1.1.0-stable sources from GitHub and check out the 1.1.0-stable version

git clone https://github.com/openssl/openssl.git cd openssl git checkout OpenSSL_1_1_0-stable ./config make depend make sudo make install

cd $LCC_ROOT

Picture16: ./autogen.sh

Picture16: ./autogen.sh

Picture 17: ./configure

Picture 17: ./configure

Important tip: ‘/home/pi/litecoincash/src/Makefile’ ←- This file is created

STEP 10 : We are ready for the final compilation. Close all opened browser windows and Run this command:

cd litecoincash && make clean && make

Picture: 18: make clean & make . compile.

Picture: 18: make clean & make . compile.

This process takes some time. I have tried on 2 RASPBERR’s PI It took approx 2,5h hours to compile.

After finished the compilation I would suggest to disable SWAP file to do this run this 2 commands and change line:

sudo nano /etc/dphys-swapfile

An editor will open the file dphys-swapfile, CHANGE this 2 lines,

CONF_SWAPSIZE=0

CONF_MAXSWAP=4096

SAVE AND CLOSE with: CTRL + O then ENTER then CTRL + X to EXIT

In terminal now type this and run:

sudo /etc/init.d/dphys-swapfile restart

The wallet is compiled. As result, you will see the file to be created “litecoincash-qt” inside your ‘/home/pi/litecoincash/src/’ directory

How to run it now?

To run the wallet you need to put full file path with all directories in the console. Run command:

src/qt/litecoincash-qt

or (go to STEP 11) to run it from a desktop, no need to run console every time, simple ICON on desktop

And of course, this version of LiteCoin Cash full wallet 0.16.0.2 does also support to store the blockchain on a different location

( USE CUSTOM DATA DIRECTORY). If you have only 16Gb SD card or lower, it is now the best time to plug in one USB stick with at least 32 Gb free memory to your Raspberry PI and select a folder or/and create one new on this new USB stick. If you have SD card already with more than 32 Gb ( at least 16 Gb free memory available) than you leave the use default data directory and press ok to continue.

A little tip: You can copy your wallet.dat in ./litecoincash directory the backup file from Windows wallet and it will work also here.

Be sure to copy it in the right place!

If you add USB stick and you have files on a USB stick in folder /media/pi/XXX/.litecoincash than copy wallet.dat in that directory, otherwise copy it to /home/pi/.litecoincash

Step 11: WALLET with ICON on a desktop.

Ok, the wallet is working fine, but running it always from the console it is not very convenient. Let’s create a shortcut for it. So you will be able to run the LCC wallet from desktop…

####UPDATE 8/1/2019

First, we will copy a logo icon litecoincash bitcoin64.png and litecoincash-qt bin file to /user/bin

Run this 3 commands in the terminal:

sudo cp /home/pi/Downloads/litecoincash/share/pixmaps/bitcoin64.png /usr/share/pixmaps/litecoincash/bitcoin64.png

sudo cp ~/Downloads/litecoincash/src/qt/litecoincash-qt /usr/bin/litecoincash-qt

sudo leafpad /usr/share/applications/lcc.desktop

The last command will open a text editor. Enter/COPY this text and just save the file/CLOSE

[Desktop Entry]

Type=Application

Exec=/usr/bin/litecoincash-qt

*Icon=/usr/share/pixmaps/litecoincash/bitcoin64.png*

Name=LiteCoinCash v0.16.0.2

GenericName=LiteCoinCash FULL Wallet

Categories=Internet; Tor

### END UPDATE 8/1/2019

After the file has been saved, run this command in a console:

sudo update-desktop-database

After running the command check your systems main menu, section “OTHER”.

There should be a shortcut you have created for our wallet with an image/icon which you have chosen.

Now you can easily use your wallet and without all the troubles with the console. Happy HIVE MINING.

To move this icon/programme to the desktop, right click with the mouse on the litecoincash icon and select ADD TO DESKTOP on a pop up menu!

# THE HIVE is the future

#UPDATE 25/1/2019 — ADDED 2.nd SHORTCUT for the TESTNET!

To add 2.nd shortcut — only for LiteCoin CASH — testnet wallet

You need to add 2.nd desktop and menu shortcut

Open a terminal and run this command:

sudo leafpad /usr/share/applications/lcc.desktop1

A command will open a text editor. Enter/COPY this text and just save the file/CLOSE:

[Desktop Entry]

Type=Application

Exec=/usr/bin/litecoincash-qt -testnet

Icon=/usr/share/pixmaps/litecoincash/bitcoin64.png

Name=LiteCoinCash -TESTNET v0.16.0.2

GenericName=LiteCoinCash FULL Wallet -testnet

Categories=Internet; Tor

After the file has been saved, run this command in a console:

sudo update-desktop-database

After running the command check your systems main menu, section “OTHER”.

There should be a shortcut you have created for our wallet with an image/icon which you have chosen.

Now you can easily use your wallet and without all the troubles with the console. Happy HIVE MINING on testnet.

To move this icon/programme to the desktop, right-click with the mouse on the litecoincash icon and select ADD TO DESKTOP on a pop-up menu!

Made by love for bees, flowers, honey, and the World.

By @uross#1887 on DISCORD

v.0.4.2

  • update 29.1.2019 v0.4.2 ( added 2.nd shortcut for the TESTNET LCC wallet, you must delete line testnet=1 from litecoincash.conf, to run it correctly!!!)
  • update 17.1.2019 v0.4.1 (fixed link for swap-off script)
  • update 10.1.2019 v.0.4
  • update 8.1.2019, Changed the name of the wallet on Desktop from 0.16.0.1 > 0.16.0.2
  • update 31.12.2018

메타데이터
post_id
2dbda08781d3
slug
litecoin-cash-lcc-qt-full-wallet-for-raspberry-pi-3b-3b-on-raspbian-debian-linux-desktop-2dbda08781d3
url
https://medium.com/@uros.spenko/litecoin-cash-lcc-qt-full-wallet-for-raspberry-pi-3b-3b-on-raspbian-debian-linux-desktop-2dbda08781d3
canonical_url
https://medium.com/@uros.spenko/litecoin-cash-lcc-qt-full-wallet-for-raspberry-pi-3b-3b-on-raspbian-debian-linux-desktop-2dbda08781d3
author_url
https://medium.com/@uros.spenko
status
ok
fetched_at
2026-07-13 06:23:13