Iroha Client Application


Susruthan Seran <susruthanz@...>
 

Hi All,

I've been trying to build a client application like a wallet. I tried
iroha-cli, using CLI I'll be able to generate JSONs for queries and
transactions. I tried communicating with the API using this JSON but
couldn't achieve what I want to, I'm confused at this point. What do I
need to use Proto or JSON when communicating with the API. Could
anyone please guide with this.

Seran


Evgenii <evgenii@...>
 

On Tuesday, January 30, 2018 8:30:45 AM MSK Susruthan Seran wrote:
Hi All,

I've been trying to build a client application like a wallet. I tried
iroha-cli, using CLI I'll be able to generate JSONs for queries and
transactions. I tried communicating with the API using this JSON but
couldn't achieve what I want to, I'm confused at this point. What do I
need to use Proto or JSON when communicating with the API. Could
anyone please guide with this.

Seran
_______________________________________________
Hyperledger-iroha mailing list
Hyperledger-iroha@...
https://lists.hyperledger.org/mailman/listinfo/hyperledger-iroha
Hey!

So we actually use the cli for creating and sending transaction in such a way.
JSON is created mostly for debuging purposes (it's plain text, then easier to
edit and to write). Irohad itself is able to communicate only via protobuf.
CLI itself basically converts json->proto and sends it.

---
Evgenii