FarmTrace is a blockchain-based supply chain traceability platform designed to help agricultural producers comply with the EU Deforestation Regulation (EUDR). The system enables farmers, cooperatives, exporters, and regulators to interact through tamper-proof, plot-level, verifiable records — ensuring agricultural commodities are deforestation-free and fully traceable from origin to export.
Built on Solana, FarmTrace leverages Program Derived Accounts (PDAs), interactive mapping tools, satellite-based deforestation monitoring, and automated Due Diligence Statement generation to make compliance simple, scalable, and fraud-resistant.
- Draw polygon boundaries on an interactive map.
- GeoJSON coordinates are hashed using SHA-256.
- Farm Plot PDAs store immutable identifiers and metadata.
- Backend analysis uses satellite imagery and land-cover models.
- LLMs evaluate deforestation risk.
- Signed verification proofs are submitted on-chain.
- Only verified plots can create harvest batches.
- Each harvest batch is linked to a specific plot.
- PDAs track:
- Commodity type
- Weight
- Status (Harvested → Processing → InTransit → Delivered)
- Timestamps & supply chain events
- Ensures an unbreakable chain of custody.
- Aggregates geolocation data, batch history, verification results, and compliance scores.
- Generates importer-ready DDS files.
- Provides transparent, tamper-proof compliance evidence.
- Enforces EUDR eligibility rules at protocol level.
- $0.00001 transaction fees enable global accessibility.
- Extremely high throughput supports large-scale agricultural networks.
The EU Deforestation Regulation requires:
- Plot-level traceability with polygon coordinates.
- Proof of no deforestation after December 31, 2020.
- A tamper-proof chain of custody across the entire supply chain.
- A Due Diligence Statement (DDS) for every shipment.
Centralized databases struggle because they:
- Cannot provide cryptographic trust guarantees.
- Are easy to tamper with.
- Require middlemen trust across multiple countries.
- Lack verifiable auditability.
- Introduce single points of failure.
Blockchain solves these issues with immutability, transparency, and decentralized trust — but only if it's affordable and scalable.
FarmTrace uses a hybrid on-chain + off-chain model:
Three primary PDA types:
Stores:
- Polygon coordinate hash
- Plot metadata (ID, farmer, location)
- Compliance score
- Links to satellite verification results
Stores:
- Parent plot
- Commodity data
- Weight & timestamps
- Current supply chain status
- Destination & next handler
Stores:
- Deforestation analysis results
- LLM assessment summaries
- Verification timestamps
- Backend signatures
Smart contracts enforce:
- Only verified plots can register harvest batches.
- Valid transitions through the supply chain (Harvested → Delivered).
- Regulatory business rules defined by EUDR.
- Monitors plots for land-cover changes.
- Uses Google Earth Engine, Sentinel-2, Landsat.
- LLM interprets pixel changes and vegetation indices.
- Signs results and commits them on-chain via
record_satellite_verification.
- Interactive polygon drawing tool (GeoJSON-based).
- Wallet authentication (Phantom/Solflare).
- Dashboard for:
- Plot registration
- Batch creation
- Supply chain updates
- DDS generation
Coordinates → SHA256 → submission on-chain.
- Anchor Framework
- Program Derived Accounts (PDAs)
- Anchor Events
- Cross-Program Invocations (CPI)
- IDL-based frontend integration
Ethereum gas fees ($5–$50) are impossible for smallholder farmers earning $2–$5/day.
Solana fees: $0.00001
→ Register 100 batches for ~$0.01.
Mobile wallets make onboarding seamless.
Agricultural supply chains generate huge transaction bursts during harvest season.
Solana’s 50,000+ TPS handles it effortlessly.