Skip to content

Commit

Permalink
Merge branch 'main' into capossele/bump-risc0-ethereum-v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
capossele authored Oct 3, 2024
2 parents 18387c7 + e296def commit 317ddfc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,24 @@ curl https://sh.rustup.rs -sSf | sh
curl -L https://foundry.paradigm.xyz | bash
```

Next, you will need to install the `cargo risczero` tool.
We'll use [`cargo binstall`][cargo-binstall] to get `cargo-risczero` installed, and then install the `risc0` toolchain.
See [RISC Zero installation] for more details.
Next, you will use `rzup` to install `cargo-risczero`.

To install `rzup`, run the following command and follow the instructions:

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

Next we can install the RISC Zero toolchain by running `rzup`:

```sh
rzup
```

You can verify the installation was successful by running:

```sh
cargo install cargo-binstall
cargo binstall cargo-risczero
cargo risczero install
cargo risczero --version
```

Now you have all the tools you need to develop and deploy an application with [RISC Zero].
Expand Down
1 change: 1 addition & 0 deletions methods/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const SOLIDITY_ELF_PATH: &str = "../tests/Elf.sol";
fn main() {
// Builds can be made deterministic, and thereby reproducible, by using Docker to build the
// guest. Check the RISC0_USE_DOCKER variable and use Docker to build the guest if set.
println!("cargo:rerun-if-env-changed=RISC0_USE_DOCKER");
let use_docker = env::var("RISC0_USE_DOCKER").ok().map(|_| DockerOptions {
root_dir: Some("../".into()),
});
Expand Down

0 comments on commit 317ddfc

Please sign in to comment.