Documentation Index
Fetch the complete documentation index at: https://docs.boundless.network/llms.txt
Use this file to discover all available pages before exploring further.
just localnet brings up a throwaway Boundless deployment against a local anvil chain. Use it to test requestor flows, broker config, and contract upgrades end-to-end without spending real funds.
The stack runs in Docker and tears down with one command.
What’s in the stack
| Service | Purpose | Host port |
|---|---|---|
anvil | Local EVM (chain ID 31337) | 8545 |
deployer | Deploys all Boundless contracts to anvil | n/a |
postgres | Backing store for order-stream | 5435 |
minio | S3-compatible object store for guest artifacts | 9100 / 9101 |
order-stream | Off-chain order relay (REST API + WebSocket) | 8585 |
broker | Reference prover (dev mode, runs in-stack) | host network |
broker service runs only when RISC0_DEV_MODE=1, which is the default. Test proofs are mocked and complete in seconds.
Prerequisites
You’ll need:- Docker and
docker compose - Foundry (
forge,cast,anvil) - Rust (the toolchain pinned in
rust-toolchain.toml) - just
First-time host build
Before the firstjust localnet up, build the host artifacts so the deployer container can pick up the assessor guest binary and Solidity bindings:
Terminal
forge build compiles the Solidity contracts and writes ABI artifacts under out/. cargo build produces the host binaries and triggers the RISC Zero guest build under target/riscv-guest/.
Bringing it up
From the root of the Boundless repo:Terminal
- Create
.env.localnetfrom.env.localnet-templateif missing. - Build all localnet container images (first run only).
- Start
anvil,postgres,minio, run thedeployerto deploy contracts and write addresses to.env.localnet, then startorder-streamand the devbroker. - Wait for every service to become
healthybefore returning.
Terminal
anvil, broker, minio, order-stream, and postgres as Up (healthy).
Using the localnet
just localnet up populates .env.localnet with the values a requestor or prover client needs: RPC URLs, contract addresses, and a funded test wallet. Source it into your shell:
Terminal
.env.localnet
Logs and lifecycle
To tail logs across the whole stack:Terminal
Terminal
.env.localnet (full reset):
Terminal