-
Notifications
You must be signed in to change notification settings - Fork 2
/
README.md
53 lines (33 loc) · 863 Bytes
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Python client library example
This projects is based on the work of [Andrey Makhnov](https://github.com/andrcrus/iroha-python-demo)
## Prerequisites
The following are the tools used in the project:
- Hyperledger Iroha (in VM Ubuntu 16.04.6)
- Python 3
- Flask
- Bootstrap
- vue.js
- axios
Make sure you have running iroha on your machine.
You can follow [this](https://iroha.readthedocs.io/en/latest/getting_started/index.html) guide to install iroha.
## Launch
Launch it in your terminal:
```sh
python3 main.py
```
Open the url:
```sh
http://localhost:5000/
```
In the VM you can see the Iroha log:
```sh
sudo docker logs iroha --details -f --tail 0
```
Iroha console
```sh
docker exec -it iroha /bin/bash
root@40a0098150a7:/opt/iroha_data#
iroha-cli -account_name admin@test
```
## Screenshots
![image](static/img/2.png)