Agribase
Decentralized Funding for Farmers
The problem Agribase solves
The Problem Agribase Solves
Smallholder farmers often face limited access to upfront capital, transparency issues when engaging with funders, and inefficient tracking of project milestones. Traditional agricultural funding is slow, paperwork-heavy, and centralized — leaving farmers under-supported and funders with low visibility into how their contributions are used.
How Agribase Improves the Process
Agribase uses Web3 tools to decentralize and streamline agricultural crowdfunding. By enabling transparent fundraising and milestone tracking on-chain, it builds trust between farmers and backers. Smart contracts enforce milestone-based disbursements, while AI assistance helps flag unrealistic timelines or missing data — giving admins oversight without micromanagement.
The platform gives farmers better access to funding and visibility, while backers gain confidence that their support drives real progress.
Challenges I ran into
-
Blockchain Integration Challenges
- Obstacle: Integrating blockchain functionality with a Next.js application while maintaining good user experience
- Solution:
- Used Hardhat for smart contract development and testing
- Implemented MetaMask integration (@metamask/providers)
- Created a dedicated blockchain context for managing wallet connections and transactions
- Used ethers.js v6 for blockchain interactions
-
Authentication Complexity
- Obstacle: Managing multiple authentication methods (email/password, Google, and crypto wallets)
- Solution:
- Implemented a flexible authentication system using Supabase (@supabase/supabase-js)
- Created a unified authentication context to handle different auth methods
- Used middleware.ts for protecting routes and managing auth state
-
UI/UX Development
- Obstacle: Building a complex UI with consistent design patterns
- Solution:
- Used shadcn/ui component library for consistent, accessible components
- Implemented Tailwind CSS for styling
- Added dark mode support with next-themes
- Used Radix UI primitives for accessible, customizable components
-
Database and State Management
- Obstacle: Managing complex data relationships between farmers, projects, and funding
- Solution:
- Used Prisma as the ORM for type-safe database operations
- Implemented React Context for global state management
- Created custom hooks for data fetching and state management
Tracks Applied (2)
AI
Stablecoins
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
