Open brioux opened 2 years ago
@arezd thanks for addressing the first part of the issue - querying the postgres wallet table to get user name.
I have made some modifications to your latest commit - e.g. creating a Wallet object for both the trackee and auditor when loading the partial for the tracker token. The branch is now stored on the upstream orin hyperledger-labs repo
I will start working on setting up the postgres database to store and retrieve all of the tracker data following the API Server query tutorial .
@ar We would like to reference a registered industry user's name in the tracker details modal table instead of the public key address as on the following line.
Currently setting the trackee string by calling the CarbonTracker contract. Instead we should query the wallet table in the postgres database and get the name attribute.
This task is linked to a larger issue, that is populating the Tracker object type by querying the postgres database (not calling CarbonTracker contract). this will requires modifying the api-server so that tracker details sent to the contract are stored in postgres and then updating the fetchTracker details here