Thursday, September 29, 2022
API
Protocol
WASM
Tooling

Release: mx-sdk-cpp - v1.0.0

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:

	
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
	

CLI


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.

Stay curious!

Do you need more information?

Explore projects, tokens, and integrations built on MultiversX