Skip to content

Yashbhu/herbX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

herbX

herbX is a permissioned blockchain platform built on Hyperledger Fabric with integrated smart contracts and AI-based herb classification. It provides transparent, tamper-proof traceability of Ayurvedic herbs — from collection to final formulation.


Overview

The Ayurvedic herbs ecosystem suffers from adulteration, unreliable quality assessment, opaque sourcing, manual paperwork, and broken chain-of-custody. herbX introduces a unified, secure, and verifiable system where every participant interacts through a transparent blockchain layer backed by AI models.

Every step — collection, testing, processing, manufacturing — is tracked immutably via smart contracts enforcing rules and role-based access.


Problem the Platform Solves

Farmers & Wild Collectors

  • Unfair pricing due to no transparent quality evaluation
  • No verifiable record of origin or authenticity
  • Difficulty proving ethical and sustainable sourcing

Processors & Laboratories

  • Delayed, inconsistent lab verification
  • Paper-based workflows breaking chain-of-custody
  • No unified ledger for sample movement

Manufacturers & Exporters

  • Hard to verify raw material authenticity
  • High risk of adulterated or low-grade herbs
  • No end-to-end visibility across supply chain

Regulators

  • Fragmented data and delayed reporting
  • No real-time sourcing or testing visibility
  • Difficulty detecting fraud or illegal harvesting

Consumers

  • Cannot verify origin or quality
  • Low trust due to adulteration risks
  • No simple traceability from soil to shelf

Solution

herbX combines blockchain + smart contracts + AI to deliver:

  • Permissioned Hyperledger Fabric network
  • Immutable provenance tracking
  • AI-based herb classification
  • Smart contracts for:
    • batch registration
    • custody transfers
    • lab verification
    • fraud detection
    • workflow enforcement
  • Complete traceability for all authorized participants

Key Features

  • 🔐 Permissioned blockchain

  • 📜 Immutable ledger of herb lifecycle

  • 🔁 Smart contract–driven workflow

  • 🔍 End-to-end traceability

  • 🧾 Cryptographic digital certificates

  • 💡 Tamper-proof audit history

  • 🛡️ Counterfeit prevention


Technology Stack

  • Blockchain: Hyperledger Fabric
  • Smart Contracts: Go / Node.js
  • API Backend: Node.js / Express
  • Storage: Fabric ledger + optional DB (metadata)
  • Clients: CLI tools / dashboards

Repository Structure

herbX/
├── chaincode/ # Smart contracts
├── api/ # Backend API
├── network/ # Fabric network configs
├── scripts/ # Setup & automation scripts
├── docs/ # Architecture & technical docs
└── tests/ # Unit + integration tests

yaml Copy code


How It Works

  1. Collector registers a herb batch
    → Smart contract assigns batch ID & records origin.

  2. Processors update lifecycle stages
    → Drying, grading, transport, storage, etc.

  3. Laboratories add testing & quality reports
    → Purity, moisture, chemicals, contaminants.

  4. Manufacturers verify complete provenance
    → Ensures authenticity before use.

  5. Regulators & consumers query traceability data
    → Shows verified, tamper-proof supply chain history.


Benefits

  • Full transparency for stakeholders
  • Prevents fraud & adulteration
  • Fair pricing based on verified quality
  • Faster regulatory compliance
  • Stronger export credibility
  • Greater consumer trust

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published