A Hedera powered marketplace connecting investors with African farmers to fund agricultural expansion in exchange for tokenized carbon credits representing verified CO2 sequestration.
# Verdant Vault
## Elevator Pitch
A Hedera-powered marketplace connecting investors with African farmers to fund agricultural expansion in exchange for tokenized carbon credits representing verified CO2 sequestration.
---
## Problem Statement
- **Farmers**: Lack capital to expand operations, excluded from lucrative carbon markets
- **Investors/Corporates**: Need verifiable carbon offsets for ESG compliance, want impact investments
- **Current Gap**: No accessible platform linking small-scale agriculture to carbon credit buyers
---
## Solution
Two-sided marketplace where:
1. Farmers post funding needs (seeds, irrigation, land expansion)
2. Investors fund campaigns and receive carbon credit tokens (HTS)
3. Smart contracts release funds based on proof of farming activity
4. Credits are tradeable or burnable for offset claims
---
## Core User Flows
### Farmer Journey
1. Register → Submit farm details (location, size, crop type, funding need)
2. Upload verification docs (land ownership, existing farm photos) → Admin reviews
3. Campaign goes live → Receives investments
4. Submit milestone proof (planting photos, growth updates)
5. Get funds disbursed → Continue farming
6. Platform calculates carbon credits generated → Distributed to investors
### Investor Journey
1. Connect Hedera wallet (HashPack/Blade)
2. Browse farmer campaigns (location, crop, funding goal, carbon potential)
3. Invest HBAR → Get receipt + estimated carbon credits
4. Track farm progress (milestone updates, photos)
5. Receive carbon credit tokens (HTS) when harvest verified
6. Trade credits OR burn for offset certificate
---
## Smart Contract Architecture
### Main Contract: `VerdantVault.sol`
```solidity
struct FarmCampaign {
address farmer;
string ipfsMetadata; // farm details, photos
uint256 fundingGoal;
uint256 raisedAmount;
uint256 deadline;
uint256 estimatedCO2Tons; // calculated from crop type + acreage
CampaignStatus status; // Active, Funded, Completed, Failed
Milestone[] milestones …