commit 3509a39756b563f7819f641e095d30534d0a8cb7 Author: wborgeaud Date: Mon Mar 7 22:21:58 2022 +0100 First commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..96ef6c0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..4579e9e --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "plonky2-semaphore" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +plonky2 = {git = "https://github.com/mir-protocol/plonky2"} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..cccc1e6 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Plonky2 implementation of the [Semaphore protocol](http://semaphore.appliedzkp.org/) + +Used as an example in the ZKHack Plonky2 presentation. \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..3ded4e8 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1 @@ +pub mod semaphore; diff --git a/src/semaphore.rs b/src/semaphore.rs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/semaphore.rs @@ -0,0 +1 @@ +