As you may know (and if you don’t, wikipedia explains it quite well) a SDK is a collection of software development tools in one package. Therefore, mx-sdk-cpp purpose is to provide all needed tools in order to interact with the MultiversX Network blockchain and Smart Contracts.
This script will install all necessary dependencies, build solution and:
- copy headers in
- copy shared library in
To integrate this sdk in your project, link libsrc.so and include this header in your project:
To integrate this sdk in your CMake project:
cmake_minimum_required(VERSION 3.11) project(main) include_directories(/usr/include/erdcpp) #-> include header files add_executable(main main.cpp) target_link_libraries(main PUBLIC /usr/lib/libsrc.so) #-> link library
You can see all available commands:
cd cli ./erdcpp -h
For more examples please visit the Github Readme.
Let us know what you intend to build and let’s see if this or another SDK may be more suitable for your needs. Start a discussion on our Github Community or Discord Server.