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
| Title | Farmer | Farm | Event Type | Season | Start Date | Status | Last Synced |
|---|---|---|---|---|---|---|---|
| Loading... | |||||||
| Item | Farmer | Farm | Category | Status | Evidence | Due Date | Last Synced |
|---|---|---|---|---|---|---|---|
| Loading... | |||||||
| Date | Farmer | Farm | Soil Type | pH | N | P | K | Lab |
|---|---|---|---|---|---|---|---|---|
| Loading... | ||||||||
| Plot Name | Farmer | Farm | Size | Soil Type | Crops History | Rotation |
|---|---|---|---|---|---|---|
| Loading... | ||||||
| Date | Farmer | Declared | Confirmed | Reject | Grade | Batch | Notes |
|---|---|---|---|---|---|---|---|
| Loading... | |||||||
| Date | Batch | Buyer | Qty Sold | Unit Price | Total | Notes |
|---|---|---|---|---|---|---|
| Loading... | ||||||
| Name | Phone | Location | Rating | Verified | Sales | Actions |
|---|---|---|---|---|---|---|
| Loading... | ||||||
| Date | Farmer | Gross | Deductions | Net | M-PESA | Status | TX ID |
|---|---|---|---|---|---|---|---|
| Loading... | |||||||
Sales & Payments Report
Sales by Month
Payments by Month
Production (Declared Kg) by Month
Batches Created by Month
Help / About the System
📖 Complete User Guide
Access the full user guide covering all Admin Portal and Android App features:
Open Full User Guide (HELP.html)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 register via the Android app with personal details and farm locations.
- Farms are linked to farmers and record land size, crops grown, soil type, and GPS coordinates.
- Farm Plots divide farms into named sections for crop rotation tracking.
- Crops are selected from the Crop Master catalog and planted on specific plots.
- Pipeline Stages track crop growth from Seed Preparation through Harvest to Completed/Failed.
- Seasonal Plans let farmers plan activities across seasons (planting, fertilizing, harvest, etc.).
- Compliance Checklist tracks certification, safety, environmental, and quality requirements.
- Soil Tests record soil data (pH, N, P, K) per farm for fertility monitoring.
- Harvests are recorded per crop 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.
- Field Officers oversee farms and verify data on the ground.
- Blockchain Records secure each supply chain step — harvest, quality check, shipment, certification.
- AI Advisory provides pest detection, disease identification, soil analysis, and personalized recommendations.
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, and manage farmer registrations with status review (Registered/Verified/Active/Rejected) |
| 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 lab tests and product batches with quality parameters |
| Pipeline Stages | Configure the crop growth pipeline (stages, sort order, harvest/terminal flags) |
| Growth Pipeline | Kanban board showing crops by pipeline stage with advance controls |
| Blockchain | Batch-level blockchain report showing the status of each lifecycle stage |
| Seasonal Plans | View and filter seasonal plans created by farmers (by farmer, farm, season, event type, status, date) |
| Compliance | View and filter compliance checklist items (by category, status, farmer, farm) |
| Soil Tests | View soil test records with pH, N, P, K data filtered by farmer/farm/soil type |
| Farm Plots | View farm subdivisions with crop rotation history and recommendations |
| 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).