diff --git a/packages/noir/circuits/SpotifyVerifier/Nargo.toml b/packages/noir/circuits/SpotifyVerifier/Nargo.toml new file mode 100644 index 0000000..03987c1 --- /dev/null +++ b/packages/noir/circuits/SpotifyVerifier/Nargo.toml @@ -0,0 +1,7 @@ +[package] +name = "spotifyVerifier" +type = "bin" +authors = [""] +compiler_version = "0.10.5" + +[dependencies] \ No newline at end of file diff --git a/packages/noir/circuits/SpotifyVerifier/src/main.nr b/packages/noir/circuits/SpotifyVerifier/src/main.nr new file mode 100644 index 0000000..206dc46 --- /dev/null +++ b/packages/noir/circuits/SpotifyVerifier/src/main.nr @@ -0,0 +1,11 @@ +fn main(x : Field, y : pub Field) { + assert(x != y); +} + +#[test] +fn test_main() { + main(1, 2); + + // Uncomment to make test fail + // main(1, 1); +}