Ethereum Account
| Network | Ethereum Mainnet |
| RPC URL | Loading... |
| Wallet Address | Loading... |
| Balance | ... |
| Status | Checking... |
Crop Master
Field Officers
Crop Pipeline Stages
Growth Pipeline Kanban
Batch Blockchain Report
Help / About the System
GoldLeaf Admin Portal
GoldLeaf is an agricultural supply chain platform that tracks produce from farm to consumer using blockchain technology for transparency and traceability.
Data Flow
- Farmers are registered with their personal details, farm locations, and contact information.
- Farms are linked to farmers and record land size, crops grown, soil type, and GPS coordinates for map viewing.
- Crops are catalogued in the Crop Master with scientific names, growing periods, and water requirements.
- Harvests are recorded per crop and per farm with quantities, dates, and quality data.
- Product Batches group harvested produce into tracked units with unique batch codes.
- Lab Tests assess batch quality against quality parameters for the farm.
- Field Officers oversee farms and verify data on the ground.
- Blockchain Records secure each supply chain step — every harvest, quality check, shipment, and certification is hashed on-chain.
Blockchain Lifecycle
Each batch passes through four blockchain-recorded stages:
| Stage | What It Records |
|---|---|
| HARVEST | Harvest date, quantity, crop type, farm location |
| QUALITY_CHECK | Lab test results, quality parameters, grade |
| SHIPMENT | Dispatch date, destination, transporter |
| CERTIFICATION | Organic cert, compliance docs, audit trail |
Status: PENDING → SYNCING → CONFIRMED or FAILED
Modules Overview
| Module | Purpose |
|---|---|
| Dashboard | Key metrics — total farmers, farms, active batches, pending blockchain records |
| Farmers | View, search, edit, and manage farmer registrations |
| Farms | View farm details, location on map, farm boundaries with area calculation |
| Map View | Geographic visualization of all farms with interactive markers and popups |
| Crop Master | Manage the crop catalogue — add, edit, delete crop types |
| Field Officers | Manage field officer assignments and contact details |
| Lab Results | View product batches and associated lab tests with quality parameters |
| Blockchain | Batch-level blockchain report showing the status of each lifecycle stage |
| Statistics | Aggregated charts and counts for the whole system |
Technical Notes
- Blockchain integration uses a 3-tier relay: upstream RPC → pure PHP ECDSA → simulated hash fallback.
- Farm boundary area is calculated client-side using the shoelace formula with latitude correction (no external GIS library).
- Wallet address:
0xb92702b3eefb3c2049aeb845b0335b283e11e9c6 - The system runs on Apache with PHP 7.4+ and MySQL (MariaDB).