Skip to content

hyperledger-iroha/iroha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,746 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hyperledger Iroha

License

Hyperledger Iroha is a deterministic blockchain platform for permissioned and consortium deployments. It provides account/asset management, on-chain permissions, and smart contracts through the Iroha Virtual Machine (IVM).

Workspace status and recent changes are tracked in status.md.

Release Tracks

This repository ships two deployment tracks from the same codebase:

  • Iroha 2: self-hosted permissioned/consortium networks.
  • Iroha 3 (SORA Nexus): the Nexus-oriented deployment track using the same core crates.

Both tracks share the same core components, including Norito serialization, Sumeragi consensus, and the Kotodama -> IVM toolchain.

Repository Layout

Quickstart

Prerequisites

  • Rust stable
  • Optional: Docker + Docker Compose for local multi-peer runs

Build and Test (Workspace)

cargo build --workspace
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --all

Notes:

  • Full workspace build can take about 20 minutes.
  • Full workspace tests can take multiple hours.
  • The workspace targets std (WASM/no-std builds are not supported).

Targeted Test Commands

cargo test -p <crate>
cargo test -p <crate> <test_name> -- --nocapture

SDK Test Commands

cd IrohaSwift
swift test
cd java/iroha_android
JAVA_HOME=$(/usr/libexec/java_home -v 21) \
ANDROID_HOME=~/Library/Android/sdk \
ANDROID_SDK_ROOT=~/Library/Android/sdk \
./gradlew test

Run a Local Network

Start the provided Docker Compose network:

docker compose -f defaults/docker-compose.yml up

Use the CLI against the default client config:

cargo run --bin iroha -- --config ./defaults/client.toml --help

For daemon-specific native deployment steps, see crates/irohad/README.md.

API and Observability

Torii exposes both Norito and JSON APIs. Common operator endpoints:

  • GET /status
  • GET /metrics
  • GET /v1/parameters
  • GET /v1/events/sse

See the full endpoint reference in:

Core Crates

Documentation Map

Translations

Japanese overview: README.ja.md

Other overviews: README.he.md, README.es.md, README.pt.md, README.fr.md, README.ru.md, README.ar.md, README.ur.md

Translation workflow: docs/i18n/README.md

Contributing and Help

License

Iroha is licensed under Apache-2.0. See LICENSE.

Documentation is licensed under CC-BY-4.0: http://creativecommons.org/licenses/by/4.0/

Packages

 
 
 

Contributors