From 57bd688fefcee55334b531e72d405288d0867c4a Mon Sep 17 00:00:00 2001 From: tolak Date: Fri, 8 Nov 2024 14:31:20 +0800 Subject: [PATCH] update doc --- local-development.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/local-development.md b/local-development.md index c46e393..da37e3c 100644 --- a/local-development.md +++ b/local-development.md @@ -16,13 +16,35 @@ You can deploy the zk verifier contracts and run an end-to-end test or demo as f export ETH_WALLET_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 ``` -3. Build project: +3. Next, you will use rzup to install cargo-risczero. + +To install rzup, run the following command and follow the instructions: + +```bash +curl -L https://risczero.com/install | bash +``` + +Next we can install the RISC Zero toolchain by running rzup: + +```bash +rzup +``` + +You can verify the installation was successful by running: + +```bash +cargo risczero --version +``` + +Now you have all the tools you need to develop and deploy an application with RISC Zero. + +4. Build project: ```bash cargo build ``` -4. Deploy verifiers contract by running: +5. Deploy verifiers contract by running: ```bash forge script --rpc-url http://localhost:8545 --broadcast script/Deploy.s.sol