Skip to content

Commit

Permalink
Merge pull request #27 from yetanotherco/0.1.1-nits
Browse files Browse the repository at this point in the history
0.1.1 nits
  • Loading branch information
PatStiles authored Oct 2, 2024
2 parents f6cc2c7 + 32249fb commit d5ca934
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,22 @@ zkRust seeks to simplify the development experience of developing using zkVM's a

## Installation:

First make sure [Rust](https://www.rust-lang.org/tools/install) is installed on your machine. Then install the zkVM toolchains from [sp1](https://github.com/succinctlabs/sp1) by running:
First make sure [Rust](https://www.rust-lang.org/tools/install) is installed on your machine. Then install the zkVM toolchains from [sp1](https://github.com/succinctlabs/sp1) and [risc0](https://github.com/risc0/risc0) by running:

```sh
curl -L https://sp1.succinct.xyz | bash
sp1up
cargo prove --version
```

and

```sh
curl -L https://risczero.com/install | bash
rzup install
cargo risczero --version
```

zkRust can then be installed directly by downloading the latest release binaries.

```sh
Expand Down
2 changes: 1 addition & 1 deletion install_zkrust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ echo "Installing zkVM toolchains"
# Install risc0 toolchain
curl -L https://risczero.com/install | bash
rzup install
cargo risczero install --version v1.0.1
cargo risczero --version
echo "Risc0 Toolchain Installed"

# Install sp1 toolchain
curl -L https://sp1.succinct.xyz | bash
source $PROFILE
sp1up
cargo prove --version
echo "Sp1 Toolchain Installed"
Expand Down
1 change: 0 additions & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use anyhow::anyhow;
use log::error;
use regex::Regex;
use std::{
Expand Down
2 changes: 1 addition & 1 deletion workspaces/base_files/sp1/host
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn main() {

let client = ProverClient::new();
let (pk, vk) = client.setup(METHOD_ELF);
let proof = client
let mut proof = client
.prove(&pk, stdin)
.compressed()
.run()
Expand Down

0 comments on commit d5ca934

Please sign in to comment.