From 8890b7f0d8e5a629c9fe77bbbf607fd392dcc306 Mon Sep 17 00:00:00 2001 From: Oskar Thoren Date: Mon, 17 Jan 2022 12:00:54 +0800 Subject: [PATCH] Add basic multipler example --- multiplier/Cargo.toml | 8 ++++++++ multiplier/README.md | 4 ++++ multiplier/src/main.rs | 3 +++ 3 files changed, 15 insertions(+) create mode 100644 multiplier/Cargo.toml create mode 100644 multiplier/README.md create mode 100644 multiplier/src/main.rs diff --git a/multiplier/Cargo.toml b/multiplier/Cargo.toml new file mode 100644 index 0000000..56ea994 --- /dev/null +++ b/multiplier/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "multiplier" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/multiplier/README.md b/multiplier/README.md new file mode 100644 index 0000000..4dfe073 --- /dev/null +++ b/multiplier/README.md @@ -0,0 +1,4 @@ +# Multiplier example + +Example wrapper around a basic Circom circuit to test Circom 2 integration +through ark-circom and FFI. diff --git a/multiplier/src/main.rs b/multiplier/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/multiplier/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}