Skip to content

Latest commit

 

History

History

client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Iroha Client

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.

Features

  • Submit one or several Iroha Special Instructions (ISI) as a Transaction to Iroha Peer
  • Request data based on Iroha Queries from a Peer

Setup

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" }

Examples

We highly recommend looking at the sample iroha_client_cli implementation binary as well as our tutorial for more examples and explanations.