Skip to content

hyperledger-iroha/iroha-java

Repository files navigation

Iroha2 Java

Iroha2-java-dev ci passed

The repository contains the client library of Hyperledger Iroha2 written in Kotlin. This includes:

  • client to work with Iroha2 API
  • admin-client with Iroha2Client extension
  • codegen to generate models into model by Iroha2 schema
  • model with models generated by codegen
  • block with genesis classes and some generated serializers and deserializers for data models
  • test-tools to create tests for Iroha2

Iroha version

Docker image: hyperledger/iroha2:lts@sha256:4b61b866e15039989e689e3403986ebb207628c36d956d2dc99078e19764e212

Get Started

Check out Hyperledger Iroha2 Tutorial that introduces you to Iroha2 concepts and features and also provides you with a step-by-step guide for Kotlin/Java.

Usage

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    api 'com.github.hyperledger.iroha-java:client:iroha2-dev-SNAPSHOT'
    api 'com.github.hyperledger.iroha-java:model:iroha2-dev-SNAPSHOT'
    api 'com.github.hyperledger.iroha-java:block:iroha2-dev-SNAPSHOT'
    api 'com.github.hyperledger.iroha-java:test-tools:iroha2-dev-SNAPSHOT'
}

To get specific javadoc/lib version(s), refer to JitPack features.

If you have any questions

Please contact the community to get answers as soon as possible.