Concordium / concordium-bounty-program

6 stars 2 forks source link

Track and Trace v2 Reward: $3k (in $CCDs) #2

Open bogacyigitbasi opened 5 months ago

bogacyigitbasi commented 5 months ago

Track and Trace v2

We want to improve the existing track and trace reference project’s functionality based on the feedback collected. Providing a product journey is still our main objective, but there are some issues that can be addressed easily which make a significant impact in this public, open sourced project. The target persona is developers who will build a custom TracknTrace solution using the smart contracts and architecture created and used in the V1. Moreover, it could be also possible to make profit for a 3rd party that is providing an API service for tracing products.

With the TracknTracev2 reference project, we want to expand the v1 and increase the user experience, improve designs and improve the functionality in mostly off-chain components.

URL: https://trackntrace.testnet.concordium.com/ Source Code: https://github.com/Concordium/concordium-dapp-examples/tree/main/trackAndTrace

Requirements

# Title User Story Acceptance Criteria Notes
1 WalletConnect support As a user, I can connect to the platform using my mobile device to sign transactions. Concordium mobile wallets and CryptoX wallets should be able to sign any transactions using sponsored or regular types of smart contract updates This is for using the product with mobile wallets. As long as the browser wallet does not support wallet connect the current integration must be maintained.
2 Upload/Drag and drop image Then it should be possible to also display the image in the dApp.
3 Display product’s image fetched from IPFS It is also fine to fetch it from database using the indexer but at least one of them should be provided.
4 IPFS/Filecoin integration As a solution provider I can use IPFS and Filecoin to keep the metadatas available. Data must be uploaded automatically when user filled a form and uploaded an image using an API key of Pinata or similar providers.
5 Map Integration As an intermediary, while updating the status I can pick the location of the product from a map. Each lat/long value or gmaps link should be added to metadata.
6 Display pinned product locations As an end-user when I query the product journey, I can see all previous locations It can be shown from pinned locations from DB where locations emitted from directly the contract
7 Metadata modification As an authorized role i.e owner, I can update the metadata. Smart contract modification/update added.
8 Improve UI Responsive WebApp Preferably Radix or another popular library is okay for UI components Keep versioning Change “Admin1”, …,, “Admin4” to meaningful names describing the functionality.
9 List all Admin account addresses
10 Link to transaction view on CCDExplorer.io Instead of CCDScan.
11 It should be possible to copy the transaction hash so that one does not have to open CCDexplorer for each step.
12 Project deployed and hosted on testnet for demonstration purposes. As an end-user I want to visit the website to query a product’s provenance.
13 Open sourcing the repository Open sourced repository Detailed readme file for developers to run in their localhost Docker file updated if necessary
13 Maintanence Hosting and maintenance of the tool for 3 months will be covered by the participant.
Afoxcute commented 4 months ago

Hi, I am down for this. How do get started?

bogacyigitbasi commented 4 months ago

Hey, since this is (almost!) a well-defined bounty, we want to see all the requirements are fulfilled. Ideally, you would actually work in your own repository and have a deployed gh-pages version where we can check the UI as you proceed to avoid any big issues at a later point. We can share a feedback document and when you have something to show just let me know from Discord, telegram etc. and I can add my/our feedback and you keep building. In a few iterations I guess this could be done, and then we will review the code. There could be some feedback by the team, you will fix if any. Then we will approve and pay the bounty :) I hope its clear?

Afoxcute commented 3 months ago

Please send your telegram or discord username so that I can contact you for the review of the document and get started.

bogacyigitbasi commented 3 months ago

We need to coordinate this with DevRel, reach out to our CMs from telegram and they will let you know who is your point of contact. Have a great week ahead @Afoxcute

Afoxcute commented 3 months ago

You mean Salman?

bogacyigitbasi commented 3 months ago

Yes, Salman, Pablo, or others.

benya7 commented 1 month ago

Hi @bogacyigitbasi ! I was reading the spec for this bounty and reviewing the TrackNTrace v1 repo, and I'm ready to start working on this as soon as possible.

Please let me know if this is still open.

bogacyigitbasi commented 1 month ago

Well, it has been a very long time since the last interaction. It is not fair to block willing and passionate people, so yes! Please complete it and get in touch. LFG 🚀

benya7 commented 1 month ago

Well, it has been a very long time since the last interaction. It is not fair to block willing and passionate people, so yes! Please complete it and get in touch. LFG 🚀

Appreciate it! I’ll complete it and be in touch!

bogacyigitbasi commented 4 days ago

@benya7 any news on this one?

benya7 commented 4 days ago

@bogacyigitbasi Hi! Yes. Almost done, polishing the final details. I hope to send the PR between today and tomorrow.