Run the scaffold locally
Prerequisites
- Install Rust (you'll need
rustup
and Cargo). - Install openssl-dev (e.g.
apt install openssl-dev
orcargo add openssl
). -
Bun (or npm/yarn)
-
For the scaffold example, install RISC Zero and Noir. You can also use SP1.
Run a node locally
Clone the Hyli node.
Run:
rm -rf data_node && RISC0_DEV_MODE=true SP1_PROVER=mock cargo run -- --pg
git checkout v0.13.1
rm -rf data_node && RISC0_DEV_MODE=true SP1_PROVER=mock cargo run -- --pg
You can now use the Hyli explorer. Select localhost
in the upper-right corner.
For alternative setups, optional features, and advanced configurations, check out the local node reference page.
Run the wallet
Clone the Wallet repository.
Wait until the node has successfully launched.
Run:
git checkout v0.1.2
rm -rf data 2>/dev/null || true && clear && RISC0_DEV_MODE=true SP1_PROVER=mock cargo run --bin server --release -- -m -a -w
Run the app scaffold
Clone the Hyli app scaffold.
Launch the server:
rm -rf data 2>/dev/null || true && clear && RISC0_DEV_MODE=true SP1_PROVER=mock cargo run --bin server --release
Start the scaffold's UI:
Everything is now functional. We can now explore the scaffold!