Verify the authenticity of a product using Algorand blockchain by simply inputing it’s ID code or scanning it’s QR code.
About • Features • Folder Structure • Installation • Contributing • Team
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.
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.
trailcheq/
├── smart-contracts/
├ ├── contracts/
├ ├── trailCheq.algo.ts (contains smart contracts code)
├── frontend/
├── contains frontend (contains small test cases for smart contracts)
- Clone this repository to your local machine.
- Ensure Docker is installed and operational. Then, install
AlgoKit
following this guide. - 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. - In the case of a smart contract project, execute
algokit generate env-file -a target_network localnet
from thetrailcheq-contracts
directory to create a.env.localnet
file with default configuration forlocalnet
. - To build your project, execute
algokit project run build
. This compiles your project and prepares it for running. - For project-specific instructions, refer to the READMEs of the child projects:
- Smart Contracts: trailcheq-contracts
- Frontend Application: trailcheq-frontend
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
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
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
- Samuel Tosin
- David Kazeem
This project is licensed under the MIT License - see the LICENSE file for details.