zerokit/multiplier
Rahul Ghangas cbf8c541c2
test: separate out tests (#103)
* test: move tests for rln, multiplier and private-settlements to tests folder

* test: fix rln test for poseiden tree

* test: move tests for rln-wasn to standalone tests folder

* test: move tests for semaphore and utils to standalone tests folder

* chore: cargo fmt

* test: rename test files

* test: move tests out from rln/src/public to test folder

* test: fix rln tests, move tests accessign private fields back to relevant source file

* chor: run cargo fmt

* test: move all semaphore tests to tests folder

* chore: cargo fmt
2023-01-31 21:27:28 +05:30
..
resources Add Circom 2 example circuits 2022-01-17 12:34:02 +08:00
src test: separate out tests (#103) 2023-01-31 21:27:28 +05:30
tests test: separate out tests (#103) 2023-01-31 21:27:28 +05:30
Cargo.toml Serialize proof 2022-01-19 13:09:38 +08:00
Makefile.toml chore: Makefile and consistent usage of cargo-make (#101) 2023-01-26 09:19:55 +05:30
README.md Minimal FFI example for C and Nim 2022-01-18 11:19:17 +08:00

README.md

Multiplier example

Example wrapper around a basic Circom circuit to test Circom 2 integration through ark-circom and FFI.

FFI

To generate C or Nim bindings from Rust FFI, use cbindgen or nbindgen:

cbindgen . -o target/multiplier.h
nbindgen . -o target/multiplier.nim