Agrishield-a decentralised agricultural risk management protocol designed for African Small holder farmers.it reduces financial uncertainity through out the farming lifecycle by combining on-chain farmer identities ,decentralised financing ,transparent produce market places ,trusted data oracles ,and automated smart-contract payouts!.
# AgriShield Protocol
> **Protecting Every Harvest. Empowering Every Farmer.**
AgriShield is a decentralized agricultural risk-management protocol designed to provide African smallholder farmers with financial security throughout the entire farming lifecycle. By leveraging blockchain technology, smart contracts, trusted data oracles, and decentralized finance (DeFi), AgriShield helps farmers mitigate financial risks before planting, during cultivation, and after harvest.
The protocol aims to address some of the most pressing challenges facing agriculture across Africa, including limited access to financing, commodity price volatility, climate-related risks, and inefficient agricultural markets.
---
# Build Status
Phase 1 is functionally complete and deployed to **Cronos testnet**. All four
protocol modules are live: a farmer can register, request funding, enroll in
weather/price coverage, and list produce — all through the running app.
| Module | Contract | Frontend | Tests |
|---|---|---|---|
| Identity | deployed | `/dashboard` | 12 passing |
| Finance | deployed | `/finance` | 14 passing |
| Protect | deployed | `/protect` | 18 passing |
| Market | deployed | `/market` | 17 passing |
For the live demo, a judge plays **Farmer** through the frontend end to
end. The other three roles — Investor (funds requests), Oracle (submits
readings), Buyer (purchases listings) — run from the terminal via scripts
in `agrishield-contracts/scripts/`, not a second UI. See that project's
README for the exact commands.
**What's left before the demo:** empty states and error handling for
judges clicking around freely with no script to follow, a bit of seeded
starting data so the app isn't bare on first load, and a few full
rehearsals of the backstage script sequence. See Next Steps
below.
Repo layout:
- `agrishield-frontend/` — Next.js app (see its README for setup)
- `agrishield-contracts/` — Solidity contracts, tests, deploy + demo
scripts (see its README for s …