Open Terminal and lets refresh system:
sudo apt-get update
sudo apt-get upgrade
sudo reboot
Open Terminal again and Install dependencies needed for compiling wallet:
sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev
Since this is memory intensive we will Create a swap File for the Pi 3:
sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
sudo mkswap /var/swap.img
sudo swapon /var/swap.img
Build BerkeleyDB:
cd ~
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
sudo tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --enable-cxx
make
sudo make install
Set BerkeleyDB headers:
export CPATH="/usr/local/BerkeleyDB.4.8/include"
export LIBRARY_PATH="/usr/local/BerkeleyDB.4.8/lib"
export LD_LIBRARY_PATH=/usr/local/BerkeleyDB.4.8/lib/
Download source code:
cd ~
git clone https://github.com/hiddensphinx/reddcoin.git
Get the Makefile:
cd reddcoin
./autogen.sh
./configure --with-gui=no --disable-tests CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib"
cd /src
sudo make
The daemon is now ready. First create the reddcoin.conf file with a strong username and password!
cd ~
mkdir .reddcoin && cd .reddcoin
nano reddcoin.conf
rpcuser=<insert a username>
rpcpassword=<insert a pwd>
Now start the daemon and let it sync
cd ~/reddcoin/src
./reddcoind -daemon
./reddcoin-cli <command eg.: getinfo getwalletinfo getstakinginfo ... stop>