How to setup Ubuntu Mate and Electra QT Wallet on a Raspberry Pi

Disclaimer: This guide is used for informational purposes only. The Electra (ECA) Team is not responsible for what you do with your wallet. Please ask for help if you have any questions in this process. Happy Staking! – ECA Team

Install Ubuntu Mate and Teamviewer

Note: Step 1-6 are to be done on your personal computer (Windows). Ubuntu Mate is the Operating System to use on your Raspberry Pi (RPI).

1. Download Ubuntu Mate with desktop on your computer from the download link below

2. Download and Install win32diskimager on your computer from the link below:

3. Download and install 7zip or WinRAR on your computer if you don’t have it already:

4. Right Click on the Ubuntu Mate file you downloaded in Step 1 >  7-Zip > Extract Files

5. Plugin your microSD card in your computer. Please note the Raspberry Pi requires the OS to be on a microSD card first. There is no internal storage on the Raspberry Pi at this time.

6. Launch Win32Disk Imager and select the IMG file that was unzipped/extracted in Step 4. The “Device” dropdown should be selected with the Drive name of your microSD card, if so, then click on Write.

7. Once the write is complete, you have Ubuntu Mate installed on your microSD card. Plugin the micro SD card in Raspberry Pi and power it up. After this, you are done with the Ubuntu Mate OS install part.

Next step is to install Electra wallet on your Raspberry Pi (section 2 of this document).

8. To install Teamviewer on Raspberry Pi, download the following from the browser in the Raspberry Pi. This step is optional, Teamviewer is only needed if you want to be able to remotely access your Raspberry Pi from your cell phone or another computer.

Installing Electra QT Wallet on Raspberry Pi

1. Go in the home directory and create a file called (Right click in empty area > create Document > empty file) – The Home directory is equal to the folder that has the Documents, Music, Pictures folders on Windows.

2. Double click / open (Display only) and add the following lines in the file (copy and paste the following lines):

# add bitcoin repo
sudo add-apt-repository ppa:bitcoin/bitcoin -y
sudo apt-get update

#install dependencies all one line
sudo apt-get install git build-essential libboost-all-dev libssl-dev libdb4.8-dev libdb4.8++-dev libminiupnpc-dev qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools -y

#upgrade all before install
sudo apt-get upgrade -y

#clone the repo
mkdir ~/src
cd ~/src
git clone
cd ~/src/Electra

#compile wallet

#copy the wallet executable to desktop
cd ~
cp ~/src/Electra/Electra-qt ~/Desktop

3. Open a terminal window and run the file (screenshots below) – This process will take some time (15 – 30 mins on average depending on CPU, Memory, etc.), you will also be prompted for upgrades.

If you get a permission denied error, run the command  “chmod 755” without the quotes and then run again as shown in the screenshot below

Alternatively, you can click and drag the file into your terminal instead and press enter to activate the script after inputting the password of your device.

4. Download the peers.dat and place it in .Electra directory in your home directory. If there is a peers file already in the folder, delete it and then place the one you downloaded into this folder. The Home directory can be found under the Places tab at the top of the screen. ( .Electra is a hidden directory so to see hidden files and directory press CTRL + H in your home directory.)

5. That’s it. You should see Electra-qt file on your desktop. Open that file and wallet will launch. You can either setup a new wallet or copy your wallet.dat file to .Electra folder to restore from backup. To see how you can restore wallet from backup see Section Three.

How to backup and restore Wallet

There are two ways a wallet can be backed up and restored, in this section we will discuss both.

Backup Wallet

One way to backup is to copy wallet.dat file:

  • Navigate to the /home/pi/.Electra folder and save it in a secure location (USB drive, Google drive, etc).

Note – Make sure you are making a new backup of wallet.dat file every
time you create a new address in your wallet.

The other way you can backup it by saving the private keys for each address in your wallet. This can be done from the console window in your wallet (Help > Debug Window > Console). In console run the following command:

  • dumpprivkey publicaddress
  • Run the above command for each public address you have and save all the private keys in a secure location.

Restore Wallet

To restore wallet from wallet.dat backup, just copy the wallet.dat in
/home/pi/.Electra folder and restart your wallet.

To restore wallet from private keys, run the following command in wallet console:

  • importprivkey privatekey “Address name”
  • Address name can be anything you want to name the address as, for e.g. “Staking wallet” (Don’t forget the “ “).
  • Import all the private keys using the command above.

If you encounter any issues or need fast help please see the #help-support
section in our community discord channel Electracoin. Use the link below
to join the server.

Disclaimer: This guide is used for informational purposes only. The Electra (ECA) Team is not responsible for what you do with your wallet. Please ask for help if you have any questions in this process. Always backup your mnemonic phrase, passphrase, and wallet.dat.