IoTeX client
|
A simple C++ API client implementation in for the IoTeX Blockchain Compatible with some Arduino boards and Raspberry Pi/Unix environments
./build.sh
Press F1
to open the terminal and write Tasks: Run task
Select the task Arduino - Run unit tests
See examples folder. Each example contains it's respective platformio.ini
and README.md
files
Copy the library into your Arduino libraries directory. See https://www.arduino.cc/en/guide/libraries and restart Arduino
You can open any of the examples from File->Examples->IoTeX-client, configure your board and build/upload
The project contains VSCode build and launch configurations in ./vscode In order to launch in VSCode, C++ extensions need installed
./build/tests/iotex_unit_tests
Use the provided Unit tests - launch
configuration
See examples in the examples folder
The user flow is the following:
Connection<Api> connection(tIp, tPort, tBaseUrl);
ResultCode result = connection.api.wallets.getBalance(tAccount, balance);