# randomx-go-bindings CGO bindings for [tevador/RandomX](https://github.com/tevador/RandomX) ## Building requirements ### RandomX Dependency | randomx-go-bindings Version | Supported RandomX Versions | Notes | |:---------------------------:|:--------------------------:|:------------------------------------------:| | v1.0.0 | v1.2.0+ | Support for `randomx_calculate_commitment` | ```bash git clone --depth 1 --branch v1.2.1 https://github.com/tevador/RandomX.git /tmp/RandomX && pushd /tmp/RandomX && \ mkdir build && cd build && \ cmake .. -DCMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX:PATH=/usr && \ make -j$(nproc) && \ make install && \ popd && \ rm -rf /tmp/RandomX ```