Simple demonstration of iroha app with flask server.
This example was created for the Basics of Grid and Cloud Computing course.
You can find more detailed information in the presentation. Also you can find demo there.
- Run
./init_postgres.sh
- Run
./run_node.sh fabric 1
- Inside opened container run
irohad --config fabric_config.docker --genesis_block genesis.block --keypair_name node0
- Run
python app.py
in new terminal - You can access api by
127.0.0.1:50051/getuserinfo?account_name=[fabric|office|pharmacy|government]