Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# Noir and prover artifacts
*.json
*.gz
*.bin

# Generated by Cargo
# will have compiled files and executables
Expand Down
22 changes: 20 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["noir-r1cs", "delegated-spartan", "merkle-hash-bench", "prover"]
members = ["noir-r1cs", "merkle-hash-bench"]

[workspace.package]
edition = "2021"
Expand Down Expand Up @@ -43,6 +43,7 @@ opt-level = 3
[workspace.dependencies]
anyhow = "1.0.93"
argh = "0.1.12"
clap = { version = "4.4", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tracing = "0.1.41"
Expand All @@ -53,7 +54,9 @@ rand = "0.8.5"
subtle = "2.6.1"
bytemuck = "1.19.0"
hex-literal = "0.4.1"

itertools = "0.13.0"
flate2 = "1.0"
bincode = "1.3"

# Noir lang: make sure it matches installed version `noirup -C 03b58fa2`
acir = { git = "https://github.com/noir-lang/noir", rev = "03b58fa2" }
Expand All @@ -62,6 +65,21 @@ acir_field = { git = "https://github.com/noir-lang/noir", rev = "03b58fa2" }
noirc_abi = { git = "https://github.com/noir-lang/noir", rev = "03b58fa2" }
noirc_artifacts = { git = "https://github.com/noir-lang/noir", rev = "03b58fa2" }
noirc_printable_type = { git = "https://github.com/noir-lang/noir", rev = "03b58fa2" }
bn254_blackbox_solver = { git = "https://github.com/noir-lang/noir", rev = "03b58fa2" }

# WHIR
whir = { git = "https://github.com/WizardOfMenlo/whir" }
spongefish = { git = "https://github.com/arkworks-rs/spongefish", features = [
"arkworks-algebra",
] }
ark-ff42 = { package = "ark-ff", version = "0.4.2", features = ["asm", "std"] }
ark-ff = { version = "0.5", features = ["asm", "std"] }
zeroize = "1.8.1"
ark-crypto-primitives = { version = "0.5", features = ["merkle_tree"] }
spongefish-pow = { git = "https://github.com/arkworks-rs/spongefish" }
ark-poly = "0.5"
ark-std = { version = "0.5", features = ["std"] }
ark-serialize = "0.5"

[patch.crates-io]
ruint = { git = "https://github.com/recmo/uint", branch = "main" }
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ cd gnark-whir
go run .
```

## Refactored

```sh
cargo run --release --bin noir-r1cs prepare ./noir-examples/poseidon-rounds/target/basic.json --output-path ./r1cs.json
cargo run --release --bin noir-r1cs prove ./noir-examples/poseidon-rounds/target/basic.json ./r1cs.json ./noir-examples/poseidon-rounds/Prover.toml ./proof.bin ./gnark.json
```


## Components


Expand Down
54 changes: 0 additions & 54 deletions delegated-spartan/Cargo.toml

This file was deleted.

9 changes: 0 additions & 9 deletions delegated-spartan/Readme.md

This file was deleted.

11 changes: 0 additions & 11 deletions delegated-spartan/app/.cargo/config.toml

This file was deleted.

3 changes: 0 additions & 3 deletions delegated-spartan/app/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion delegated-spartan/app/.taurignore

This file was deleted.

Loading