Permalink
7b38e37 Aug 5, 2018
2 contributors

Users who have contributed to this file

@tjayrush @wildmolasses
90 lines (59 sloc) 2.93 KB

Installation Instructions

The only dependencies for QBlocks are (1) a locally-running Ethereum node (or a remote Ethereum node such as Infura), (2) the curl libraries, and (3) build tools such as git, cmake, and python. Below we give specific instructions for your operating sytem. Following that are instructions for how to build and install QBlocks and further steps.

The ethslurp tool will not run without an API key from EtherScan.io (registration is required). The tool will request a key from that site before running.

Please see this important information about running or not running the Ethereum node.


If you are the root user on your system, you do not need to use sudo below. If you are not the root user, you will need to use sudo. On all non-Windows platforms, update your system first. For example, on Ubuntu, do this apt-get update then apt-get upgrade.

for Centos

sudo yum groupinstall "Development Tools"  
sudo yum install cmake python python-devel libcurl-devel

Continue below to build and install QBlocks


for Fedora

sudo dnf group install 'Development Tools'
sudo dnf install cmake python python-devel libcurl-devel

Continue below to build and install QBlocks


for FreeBSD

sudo pkg install lang/gcc49 git cmake python ftp/curl
cd /usr/include  
sudo ln -s ./usr/local/include/curl curl  
export CPLUS\_INCLUDE\_PATH=/usr/local/include/:${CPLUS\_INCLUDE\_PATH}
export LIBRARY\_PATH=/usr/local/lib/:${LIBRARY\_PATH}

Continue below to build and install QBlocks


for Ubuntu / Debian

sudo apt install build-essential git cmake python python-dev libcurl3-dev

Continue below to build and install QBlocks


for MAC OSX

curl/libcurl and python are already installed
Install cmake using these instructions or brew install cmake
Install git using these instructions.

Continue below to build and install QBlocks


To Build QBlocks and Finish Installation (all platforms)

Open a terminal and change to whatever folder you normally store GitHub repos. Then:

git clone https://github.com/Great-Hill-Corporation/quickBlocks.git
cd quickBlocks
mkdir build
cd build
cmake ../src
make
sudo make install

The installation installs the QBlocks command line tools in the folder /usr/local/qblocks/bin. You may wish to add this path to your ${PATH} environment variable.


After building, on to the samples

After you're done building and installing the library and tools, you may wish to try your hand at building some QBlocks applications or tools. We've provided a number of simple samples to help you get started. Please follow this link.