mirror of https://github.com/vacp2p/zerokit.git
7ee7675d52
* most changes * delete unused deps + update ark-circom * fix build * revert * default deatures * return * кумуке 2 * try * rm --------- Co-authored-by: tyshkor <tyshko1@gmail.com> |
||
---|---|---|
.. | ||
resources | ||
src | ||
tests | ||
Cargo.toml | ||
Makefile.toml | ||
README.md |
README.md
Multiplier example
Example wrapper around a basic Circom circuit to test Circom 2 integration through ark-circom and FFI.
Build and Test
To build and test, run the following commands within the module folder
cargo make build
cargo make test
FFI
To generate C or Nim bindings from Rust FFI, use cbindgen
or nbindgen
:
cbindgen . -o target/multiplier.h
nbindgen . -o target/multiplier.nim