Skip to content

davonjagah/trailcheq

Repository files navigation

Verify the authenticity of a product using Algorand blockchain by simply inputing it’s ID code or scanning it’s QR code.

Typescript version Built on Algorand Reactjs tealscript

AboutFeaturesFolder StructureInstallationContributingTeam

📝 About.

TrailCheq is a decentralized application built on the algorand blockchain that enables users to verify the authenticity of products by inputting their unique ID codes or scanning their QR codes. The platform leverages blockchain technology to create a tamper-proof record of product information, ensuring transparency and traceability throughout the supply chain.

🎯 Features.

Through Trailcheq’s frontend dashboard, companies can seamlessly manage their product portfolios. They can connect their Algorand wallet, create and edit products, and update descriptions to reflect lifecycle events. Consumers and businesses alike can use the “Cheq Screen” to input a product ID or scan a QR code, instantly verifying a product’s history and timeline, allowing them to make informed purchasing decisions.

Product Lifecycle Management: Each product created by a registered company is assigned its own Algorand account, storing key information such as the product's name, category, description, lifecycle log, creation timestamp, and producer details. As products move through the supply chain, companies can log updates to the product description, allowing for the tracking of significant events like sourcing changes or processing milestones.

If one company supplies a product to another, such as a farm providing meat to a burger manufacturer, the original product’s ID is referenced in the new product’s description. This cross-referencing creates a secure “chain of custody,” enabling both companies and consumers to trace a product’s journey through each stage of its lifecycle.

🗂️ Folder Structure.

trailcheq/
├── smart-contracts/
├                   ├── contracts/
├                        ├── trailCheq.algo.ts  (contains smart contracts code)
├── frontend/
     ├── contains frontend (contains small test cases for smart contracts)

📚 Documentation.

(Back to top)

  1. Clone this repository to your local machine.
  2. Ensure Docker is installed and operational. Then, install AlgoKit following this guide.
  3. Run algokit project bootstrap all in the project directory. This command sets up your environment by installing necessary dependencies, setting up a Python virtual environment, and preparing your .env file.
  4. In the case of a smart contract project, execute algokit generate env-file -a target_network localnet from the trailcheq-contracts directory to create a .env.localnet file with default configuration for localnet.
  5. To build your project, execute algokit project run build. This compiles your project and prepares it for running.
  6. For project-specific instructions, refer to the READMEs of the child projects:

This project is structured as a monorepo, refer to the documentation to learn more about custom command orchestration via algokit project run.

Requirements

  • Algokit
  • React Jsx
  • Tealscript
  • Node.js
  • NPM
  • Docker

🚀 Installation.

clone the repository using the following command:

$  git clone [email protected]:davonjagah/trailcheq.git

Navigate to the project directory:

$ cd trailcheq

To install the project dependencies, run the following command:

$ algokit project bootstrap all

To build the project, run the following command:

$ algokit project run build

To start the project, run the following command:

$ npm run start

👍 Contributing.

We believe in the power of collaboration and welcome contributions from all members of the community irrespective of your domain knowledge and level of expertise, your input is valuable. Here are a few ways you can get involved:

  • Report bugs and issues
  • Suggest new features and enhancements
  • Contribute to the codebase by submitting pull requests
  • Share the project with your network
  • Provide feedback and suggestions for improvement

👥 Team.

  • Samuel Tosin
  • David Kazeem

👨🏽‍🍳 Developer Resources.

📜 License.

This project is licensed under the MIT License - see the LICENSE file for details.

About

Supply chain, Traceability on Algorand

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages