mm-s / symbol-skel-cpp

template bootstrapping rep for building C++ apps based on the Symbol blockchain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symbol-cpp

Your Project

Template Repository TL; DR: Fork this repository to start a new C++ project based on the symbol-sdk-cpp libraries.

Why Symbol-sdk-cpp

The SDK Provides a foundation for C++ Application Development on the NEM's Symbol blockchain. It Depends on nemtech/catapult_server, providing core algorithms.

Instructions:

Fork this repository. Customize it.

git clone https://github.com/nemtech/symbol-skel-cpp
cd <your_project>
scripts/configure.sh <customization_details(enter nothing for help)>

Customizable items are:

  • The Project Name: variants:
    • Unix. project_name (Used for directories, namespace)
    • Space. "Project Name" (Used for UI)
    • Upper. PROJECT_NAME (Used for CMake variables)

Dependencies:

Build:

Once configured proceed to build the project.

mkdir _build; cd _build
cmake  ..
make

You can pass options to cmake to specify alternative locations of the symbol-sdk-core and symbol-sdk libraries using

cmake -DSYMBOLCORE_ROOT=<path_to_symbol_sdk_core_cpp> -DSYMBOLRPC_ROOT=<path_to_symbol_sdk_cpp> ..

Paths shall point to a directory containing standard directories bin, lib and include.

Install:

In order to install the library and cliente application in the system type:

sudo make install

CMake accepts the useful definition for specifying the install target location.

cmake -DCMAKE_INSTALL_PREFIX=<target_directory> ..

Project Governance:

Ships:

About

template bootstrapping rep for building C++ apps based on the Symbol blockchain

License:MIT License


Languages

Language:CMake 46.6%Language:C++ 32.6%Language:Shell 20.6%Language:C 0.1%