Commands to build the coin

This blog is the part of the course on how to create your own Cryptocurrency. This blog contains all the command to build your coin

If you want to understand the complete process of coin building please go to this of How to create Cryptocurrency if you are not already enrolled.

To enroll directly for the course please visit this link Create Own Cryptocurrency

Step by Step Guide to Build your coin

Step 1: Install the prerequisite

sudo apt-get update  

sudo apt-get install build-essential

sudo apt-get install autoconf libtool pkg-config libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libevent-dev libqt4-dev libcanberra-gtk-module libdb++-dev

Step 2: Install BerkeleyDB using below commands (If not already Installed)


wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz

tar -xvf db-4.8.30.NC.tar.gz

cd db-4.8.30.NC/build_unix

mkdir -p build
BDB_PREFIX=$(pwd)/build

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

sudo make install

Step 3: Build the Coin


./autgen.sh

./configure CPPFLAGS="-I${BDB_PREFIX}/include/ -O2" LDFLAGS="-L${BDB_PREFIX}/lib/"

make

Facebook Comments
(Visited 105 times, 1 visits today)

Leave A Comment

Your email address will not be published. Required fields are marked *