hyperledger-archives / education

Hyperledger training material
https://wiki.hyperledger.org/display/LMDWG
Apache License 2.0
372 stars 360 forks source link

Tunachain Data Control Issue #116

Open joysong90 opened 5 years ago

joysong90 commented 5 years ago

Hello. I am Lim, Hee - chan. After studying HyperLedger Sawtooth, I came to find a Tuna-Chain Application in edX course. I am trying to practice this application and understanding the codes. Can I get help with some questions?

  1. Data control

In Sawtooth - Tuna Chain Application, I was looking at key create, transfer,and tuna list to see how data coming in and out.

I looked at bundle.js file and found that once the key value is stored through localStorage, the transaction related data comes in when entering the http://localhost: 8000 / api / batches address.

I was trying to do something while practicing the application. Which is that I want to show the output such as 'create asset', 'transfer', and 'tuna list' by splitting it into several screens. (Currently the application shows everything in one screen.) In order to proceed that, I thought I should be able to control each key data, asset data, and transaction data. Is it only data which shows at 'http://localhost: 8000 / api / batches'? and is it possible to deal with the data from here?

  1. I also want to try something. Now, I am practicing an application on one computer, but I want to control like a distributed network which is that let the main computer do the key control , and user1 & user2 can manage assets and transfer them on their own networks.

Currently, when I run the application on the main computer and manage the key value, the data is saved to localStorage, so that other computers will not be able to access the key data which makes them can't do the work in same environment(means network). (I may be misunderstood.)

I am wondering If I can open the server on the main computer and let user computers view how it goes and control 'assets' and 'transfer' at each computer by user.

I would appreciate it if you give me advice or any help about my issues.

Thank you so much.