Jaremy Creechley ee565ffaef
add readme
2023-11-20 22:48:54 -07:00
..
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:48:54 -07:00
2023-11-20 22:40:10 -07:00
2023-11-20 22:40:10 -07:00

Compile Example

This folder uses modified fr files from witnesscalc. These files modify the Circom generated circutes to support compilation on ARM64. This involves adding a fr_raw_arm64.s and fr_raw_generic to implement the required fr operations. It also changes some types to signed/unsigned to match the ARM versions.

Requires gmp and nlohmann-json to be installed and usable from pkg-config. On macos you can install them using: brew install gmp nlohmann-json.

To build:

cd example/circom_build/
nim cpp product.nim
./product