Skip to content

Latest commit

 

History

History
65 lines (57 loc) · 1.69 KB

File metadata and controls

65 lines (57 loc) · 1.69 KB

Hyperledger-Iroha-Tutorial-with-Multi-Signature-and-Decentralized-Exchanged-in-Multi-Node-Set-up

Prerequisites

We run this demo with Docker and Docker Compose on an Ubuntu machine.

To run the python code, you also need python3, pip3 and iroha python library. Install the iroha python library with following command:

pip3 install iroha==0.0.5.5

Network Setup

From projects root directory, run the following command to clear previous setup:

bash network.sh down

From projects root directory, run the following command to setup the network:

bash network.sh up

Python Code Run

Transaction Example

From projects root directory, run the following command to clear previous setup:

bash network.sh down

From projects root directory, run the following command to setup the network:

bash network.sh up

From projects root directory, run the following command for transaction example:

python3 python_sdk/tx-example.py

Decentralized Exchanged

From projects root directory, run the following command to clear previous setup:

bash network.sh down

From projects root directory, run the following command to setup the network:

bash network.sh up

From projects root directory, run the following command for decentralized-exchanged example:

python3 python_sdk/decentralized-exchanged.py

Multi Signature

From projects root directory, run the following command to clear previous setup:

bash network.sh down

From projects root directory, run the following command to setup the network:

bash network.sh up

From projects root directory, run the following command for multi-signature example:

python3 python_sdk/multi-signature.py