zerokit/multiplier/README.md

22 lines
424 B
Markdown
Raw Normal View History

2022-01-17 04:00:54 +00:00
# Multiplier example
Example wrapper around a basic Circom circuit to test Circom 2 integration
through ark-circom and FFI.
2022-01-18 03:19:17 +00:00
## Build and Test
To build and test, run the following commands within the module folder
```bash
cargo make build
cargo make test
```
## FFI
2022-01-18 03:19:17 +00:00
To generate C or Nim bindings from Rust FFI, use `cbindgen` or `nbindgen`:
```
cbindgen . -o target/multiplier.h
nbindgen . -o target/multiplier.nim
```