- All source code is in standard C (C99).
- Platform-specific code is under
platform/. - It is highly recommended not to modify code outside the
platform/folder.
Directory Structure
The sample application sources are organized as follows:Build
Get the Sources
Obtain the SDK package from your Nayax account manager and extract theLinux Sample Application folder.
Install Build Dependencies (Ubuntu Linux)
Run these commands to install the required tools:Build the SDK and Demo
The provided sources and demo are ready to build on Ubuntu Linux x86_64 with GCC and automake:Clean build artifacts
Use these targets to remove compiled output:Configuration Options
The SDK supports various build-time configurations throughecod_sdk_configs.h:
Computed defaults are in
ecod_sdk_setup.h. Do not modify that file directly.Run the Demo
After building, run the included demo application to test the SDK: Manual mode: user selects operations using the keyboard:--auto mode, transactions run in a loop. If authorized, one out of two is confirmed and the other is voided, demonstrating both use cases.
Review demo/main.c for example code and usage patterns.