Commands To Build The Coin

This blog is part of the course on how to create your own Cryptocurrency. This blog contains all the commands 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 on 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 Berkeley DB using the below commands (If not already Installed)


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

cd db-4.8.30.NC/build_unix

mkdir -p build

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

sudo make install

Step 3: Build the Coin


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


About The Author