For OSx you can use
brew to install
gcc by doing so :
brew install gcc
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.
Head over to cmake.org or install it via Homebrew
brew install cmake.
Once CMake properly installed, you can now install the package.
git clone https://github.com/ARKEcosystem/cpp-cryptocd cpp-crypto# Init & Update Micro-Ecc Submodulegit submodule initgit submodule updatecmake .cmake --build .
Arduino is an open-source electronics platform based on easy-to-use hardware and software. It's intended for anyone making interactive projects.
Download and install the Arduino IDE (>=1.8.5) from arduino.cc
Using the Arduino IDE's built-in Library Manager, install the ARK-Cpp-Crypto library. Be sure to install the "-arduino" version of Cpp-Crypto.
Using the Arduino IDE's built-in Library Manager, also install the following libraries:
Include the following header in your Arduino Sketch:
An open source ecosystem for IoT development. Cross-platform IDE and unified debugger. Remote unit testing and firmware updates.
Python is required to run PlatformIO, so grab an installer package from python.org.
Head over to platformio.org to learn how to install PlatformIO.
Once installed, add the following line to your
platformio.ini configuration file:
lib_deps = ARK-Cpp-Crypto
This is an example of a fully configured `platformio.ini file for the Adafruit ESP32 Feather:
; PlatformIO Project Configuration File;; Build options: build flags, source filter; Upload options: custom upload port, speed and extra flags; Library options: dependencies, extra library storages; Advanced options: extra scripting;; Please visit documentation for the other options and examples; https://docs.platformio.org/page/projectconf.html[env:featheresp32]platform = espressif32board = featheresp32framework = arduinolib_deps = ARK-Cpp-Cryptoupload_speed = 921600monitor_speed = 115200