Build Iroha 2 Client
After you have installed Iroha from GitHub, follow these instructions to build the Iroha 2 client:
Install the Rust Toolchain
You need a working Rust toolchain:
rustc v1.60 and up. 
Installing the Rust Toolchain is normally a straightforward process, but we've added troubleshooting details for each stage, in case you experience issues with the installation process.
The easiest way to get the official
rustup script is to run:
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Or, alternatively, you can install
rustup via your operating system’s package manager.
If you know what you're doing, you can also install the Rust toolchain directly, without
If you chose to use the one-line
curl script, you will be guided through the setup process. Just go with the defaults.
Build Iroha Client
Navigate to the directory containing the Iroha repository. If you followed the installation instructions here, run:bash
$ cd ~/Git/iroha
Build the Iroha 2 client using:bash
$ cargo build -p iroha_client_cli
Build artifacts are created in the
We take pride in the fact that Iroha is extremely quick to compile. For reference, compiling hyperledger/substrate takes a good part of ten minutes on a modern M1 machine. Iroha, in comparison, compiles in around one minute.
If you're having issues with installing Rust compatible with our code (2021 edition), please consult the troubleshooting section. ↩︎