Skip to content

Commit

Permalink
add note about Bonsai env vars and proving options
Browse files Browse the repository at this point in the history
  • Loading branch information
austinabell committed Jul 16, 2024
1 parent 57e5a3b commit f6bdd4b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions usage-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ Where the `--tendermint-rpc` param can be configured to be any other network end

The flow is similar to above, except that the `--dev` flag is removed from the deployment, to deploy the groth16 verifier in its place for that step:

Set the Bonsai env variables with the url and API key:

```console
export BONSAI_API_KEY=<YOUR_API_KEY>
export BONSAI_API_URL=<BONSAI_URL>
```

> Note: you can instead use local proving and not set these env variables if on an x86 machine. See more https://dev.risczero.com/api/next/generating-proofs/proving-options
```
RUST_LOG=info cargo run -p blobstream0-cli -- deploy \
--eth-rpc http://127.0.0.1:8545 \
Expand Down

0 comments on commit f6bdd4b

Please sign in to comment.