This is the implementation of NormaChain prototype. The structure of NormaChain is shown as follow:
These instructions will help you to set up, build and run our project.
- Essentials
$ sudo apt-get -qq update
$ sudo apt-get install -y build-essential pkg-config
- CMake
$ sudo apt-get install cmake
- OpenSSL Library
$ sudo apt-get install libssl-dev
- Boost Library with Boost.Asio
$ sudo apt-get install libboost-all-dev
- GMP Library
$ sudo apt-get install libgmp3-dev
./configure --prefix=$HOME/.local
$ make
$ sudo make install all
Compile with a C++11 compliant compiler
$ mkdir build
$ cd build
$ cmake ..
$ make -j 4
To run buyer
$ cd build
$ ./test_buyer
To run seller
$ cd build
$ ./test_seller
To run approver
$ cd build
$ ./test_approver path/to/approver/info
To run agent
$ cd build
$ ./test_agent
To run supervisor
$ cd build
$ ./test_supervisor keyword