How to install any QT-Wallet on the raspberry pisteemCreated with Sketch.

in #wallet7 years ago

Hello and welcome to my first tutorial. Today I will show you how to install almost any QT-wallet on the RaspberryPi. I hope this tutorial will help you. In this example I am using the Unify wallet/source. However if you do the same steps and just change the source to the wallet you want to compile it should work too. Feel free to donate a beer to any of the following addresses at the end of the tutorial.

First we need to download and install the newest updates

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

Screen Shot 12-24-17 at 01.48 PM.PNG

Next install the following major dependencies packages by: (don’t forget to click Y)
sudo apt-get install git build-essential libtool autotools-dev autoconf pkg-config libssl-dev libcrypto++-dev libevent-dev libminiupnpc-dev libgmp-dev libboost-all-dev devscripts libdb++-dev libsodium-dev

Screen Shot 12-24-17 at 01.49 PM.PNG

next install the following QT dependencies packages by: (don’t forget to click Y)
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libcrypto++-dev libminiupnpc-dev qt5-default

The next thing we need to install are the bitcoin PPA files, these files are necessary for the compiling process.

cd /etc/apt/sources.list.d/

sudo nano bitcoin.list

Screen Shot 12-24-17 at 01.52 PM (2).PNG

Now paste to following line:

deb-src http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu artful main

Press ctrl X and Y and enter the following commands:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv C70EF1F0305A1ADB9986DBD8D46F45428842CE5E

sudo apt-get update

Screen Shot 12-24-17 at 01.54 PM (2).PNG

We’re almost ready to start the compiling process. We only need to change the libssl version to an older version. We can do this by the following commands:

cd && sudo apt-get remove libssl-dev

Set your repository list to point to "jessie " instead of "stretch", and save and exit this by ctrl x and clicking y:

sudo nano /etc/apt/sources.list

Screen Shot 12-24-17 at 01.55 PM 001 (2).PNG
Screen Shot 12-24-17 at 01.56 PM.PNG

If you changed it to Jessie update again and install libssl-dev again.

sudo apt-get update
sudo apt-get install libssl-dev

Now let’ get started. First we will make a folder for the Unify wallet by:

mkdir wallets

If the folder is made we move into that folder by the following command:

cd wallets

Now we need to clone the Unify source(If you want to compile another wallet you need to clone the source from the coin you want to compile from github. Mostly you can find a link to the source on Bitcointalk.) We can do this with the program git, we installed that in step 2.

git clone https://github.com/SBDomains/unify-source.git

Screen Shot 12-24-17 at 01.57 PM (2).PNG

If the cloning is done you will see there is a new folder. You can see this folder by running the ls command:

ls

Now let’s move into the source folder as root by typing: (if you are using a different wallet you need to replace “unify-source” with the folder name you found with the ls command)

sudo -i
cd /home/pi/wallets/unify-source/

Screen Shot 12-24-17 at 01.58 PM (2).PNG

This is one of the latest steps. We are going to compile the wallet right now. This can take a while! don’t worry just grab a beer and wait. We can start the compiling by the following command:

sudo qmake && sudo make

If it’s al done you we be back in the ~/wallet/unify-source$ folder. We can now run the wallet just by typing: (use the name of the wallet you build if your are compiling another wallet. you can find it by typing ls

./unify-qt

To make life easier we can make a shortcut on our Desktop. We do this by typing:

cp unify-qt /home/pi/Desktop

Congrats! You got a wallet running on your raspberryPI!!

Screen Shot 12-24-17 at 01.59 PM 001.PNG

If this tutorial helped you feel free to donate a beer :) . It was pain in the A$$ to figure out how to install the qt-wallet on a raspberry pi and as far I know this is the only up to date working tutorial.

BTC ADDRESS: 1GZ5BdSpZMuFTX5L4qvTBqGbYsZFGgDkZg
UNIFY ADDRESS: UbT1qkAcCn4Ce2TegDgCVjsFaK742dbaFU
ETH ADDRESS: 0xdbdcba75987a068d08264cd785343bbacde7116c
LTC ADDRESS: LY5qciZuw8KHkDFzVMydAewHzz8o9XUfJN

Sort:  

Thankyou for such great tutorial been waiting ages for this so I can stop runing it on my laptop and use my Raspberry PI

Glad i helped

Congratulations @cryptogodnl! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
You made your First Vote
You got a First Vote

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Thank you for the Tutorial! It worked great other than my one issue below.

If anyone is having the problem of "gpg: keyserver receive failed: No dirmngr" like I was
run: sudo apt-get install dirmngr

Got a bunch of errors, maybe something is outdated already? Went to do the sudo qmake step, and had bunch of errors, "CBigNum" maybe I messed up

I think I figured it out, I had to return the stretch back to the LibSSL-Dev, missed that step, thank you!

thank you for tutorial but everytime with any wallet coin, I got a error and build has terminated. I did every step you say and not one time but 4 times. I tried with PinkCoin and Okcash, each with no success.

compilation terminated.
Makefile:3564: recipe for target 'build/qrcodedialog.o' failed
make: *** [build/qrcodedialog.o] Error 1

any suggestions?

thank you so much. it works really well and its a great and easy workflow

Congratulations @cryptogodnl! You received a personal award!

1 Year on Steemit

Click here to view your Board

Do not miss the last post from @steemitboard:

Christmas Challenge - Send a gift to to your friends

Support SteemitBoard's project! Vote for its witness and get one more award!

keep getting for all wallets this error:

src/bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
src/bignum.h:606:83: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM, const BIGNUM*)’

am i just missing a library?

Congratulations @cryptogodnl! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!