zerokit/multiplier
Oskar Thoren c96ab25bc6
WIP: Sketch out public Rust API for Multiplier
2022-01-19 11:48:09 +08:00
..
resources Add Circom 2 example circuits 2022-01-17 12:34:02 +08:00
src WIP: Sketch out public Rust API for Multiplier 2022-01-19 11:48:09 +08:00
Cargo.toml Update deps and edition 2022-01-19 11:46:26 +08:00
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