Using Credits API in C++ (demo). Cmake. Cross platform
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Boost is a set of libraries for the C++ programming language that provide support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing. It contains over eighty individual libraries.
CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice. The suite of CMake tools were created by Kitware in response to the need for a powerful, cross-platform build environment for open-source projects such as ITK and VTK.
In this string, you should write your public key
publicKey = '[your public key]'
In this string, you should write the IP address of your running node
tr = TSocket('[your node’s IP address]', 9090)
- git clone https://github.com/CREDITSCOM/Examples, next use the folder ./API/CreditsCPlusPlusDemoCMake
The result in Windows
The result in Linux