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.
Installation
Run:
./install.sh
This script will install all necessary dependencies, build solution and:
- copy headers in
/usr/include/erdcpp
; - copy shared library in
/usr/lib/libsrc.so
;
SDK
To integrate this sdk in your project, link libsrc.so and include this header in your project:
#include "erdcpp/erdsdk.h"
CMake integrations
To integrate this sdk in your CMake project:
- include
/usr/include/erdcpp
; - link
/usr/lib/libsrc.so
;
Example:
CLI
You can see all available commands:
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.
Stay curious!