This is the Iroha 2 client library crate. With it you can build your own client applications to communicate with peers in an Iroha 2 network via HTTP/WebSocket.
Follow the Iroha 2 tutorial for instructions on how to set up, configure, and use the Iroha 2 client and client library.
- Submit one or several Iroha Special Instructions (ISI) as a Transaction to Iroha Peer
- Request data based on Iroha Queries from a Peer
Requirements: a working Rust toolchain (version 1.60), installed and configured.
Add the following to the manifest file of your Rust project:
iroha_client = { git = "https://github.com/hyperledger/iroha", branch = "main" }
We highly recommend looking at the sample iroha_client_cli
implementation binary as well as our tutorial for more examples and explanations.