mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-11 22:47:31 +00:00
14 lines
287 B
Markdown
14 lines
287 B
Markdown
|
# 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
|
||
|
```
|