Launch Iroha 3
This page walks through the current local-network flow for Iroha 3 using the default workspace assets from the upstream repository.
1. Generate a Local Multi-Peer Network
Generate a four-peer localnet from the current Kagami code:
cargo run --bin kagami -- localnet --build-line iroha3 --peers 4 --out-dir ./localnetThe output directory contains matching peer configs, genesis.json, genesis.signed.nrt, client.toml, and helper scripts.
For a native local smoke test, start the generated peers directly:
./localnet/start.shFor a containerized run, generate Compose from the same localnet directory:
cargo run --bin kagami -- docker \
--peers 4 \
--config-dir ./localnet \
--image hyperledger/iroha:dev \
--out-file ./localnet/docker-compose.yml \
--force
docker compose -f ./localnet/docker-compose.yml upThe default generated stack exposes:
- peer P2P ports
1337to1340 - Torii HTTP ports
8080to8083 - a ready-made client config at
./localnet/client.toml
2. Verify That the Network Is Up
Check the status endpoint on the first peer:
curl http://127.0.0.1:8080/statusThe default health checks also use:
curl http://127.0.0.1:8080/status/blocksYou can immediately point the CLI at the bundled client config:
cargo run --bin iroha -- --config ./localnet/client.toml ledger domain list all3. Nexus Profile
The repository also ships a SORA Nexus-oriented config profile under defaults/nexus/.
To run a native peer with the Nexus profile:
./target/release/irohad --sora --config ./defaults/nexus/config.tomlUse defaults/nexus/client.toml for CLI access to that profile.
4. Stop the Local Network
For a native generated localnet:
./localnet/stop.shFor the generated Compose stack:
docker compose -f ./localnet/docker-compose.yml downAfter the network is running, continue with Operate Iroha 3 via CLI.