Skip to content

Building Bitcoin Peerplays Sidechain

Bobinson K B edited this page Aug 27, 2019 · 1 revision

This document is meant only for Ubuntu based GNU/Linux distributions. The commands can be copy pasted and executed to get the code compiled.

on Fresh Ubuntu 16.04, TLDR; Just copy past the following to a bash shell

# run as root user
apt-get update
 
apt-get update
apt-get install -y cmake make libbz2-dev libdb+-dev libdb-dev libssl-dev openssl
apt-get install -y libreadline-dev autoconf libtool ntp libcurl4-openssl-dev g++
apt-get install -y libleveldb-dev libzmq3-dev doxygen wget git
 
wget -O boost_1_57_0.tar.gz https://sourceforge.net/projects/boost/files/boost/1.57.0/boost_1_57_0.tar.gz/download
tar xzvf boost_1_57_0.tar.gz
cd boost_1_57_0
sh bootstrap.sh
./b2 install
cd
 
git clone https://github.com/peerplays-network/peerplays.git
cd peerplays/
git checkout feature-sidechain
git submodule sync git submodule update --init --recursive
cmake .
make -j$(nproc)
make -j$(nproc) install