Difficulty: Beginner
Estimated Time: 10 minutes

This is a Linux-based sandbox that runs single-node Hyperledger Iroha v1.0. With this sandbox you can interact with Iroha API following specfic scenarios via Python library.

Who will enjoy it: developers who intend to create blockchain applications on Hyperledger Iroha

You will need:

  • very basic knowledge of Python
  • nothing else ;)

In this scenario user Alice will issue some coin asset in domain test and then transfer some amount of it to another user - Bob.

Hyperledger Iroha Sandbox

Step 1 of 7

Step 1

This Iroha is pre-configured with two users: [email protected] and [email protected].

Alice and Bob

They both have all available permissions in the system. So both of them can perform any of the available actions in the system.

There is also an asset -- coin#test:

Coin

Alice, Bob and the asset are parts of the same domain - test. There might be other ones in the system, representing different households, companies or institutions.

There is a Python Iroha library installed in the system, so we can interact with Iroha from within a Python code

Check that Iroha is up and running: docker-compose -f /opt/sandbox/docker-compose.yml ps

We run a dockerized version of Iroha. The container should show up as UP in the command output.

All set. We can proceed with the actual interaction with Iroha API

Coin Issue

client.py
add-asset-quantity.py