Inspiration
Witnessing the disconnect between farmers and consumers in traditional agricultural supply chains inspired me to build AgroConnect. I wanted to leverage blockchain technology to create transparency, eliminate middlemen, and ensure fair compensation for farmers while giving consumers complete visibility into their food's journey.
What it does
Building this full-stack MERN application with blockchain integration taught me smart contract development, Web3.js implementation, and how to create seamless user experiences despite blockchain's inherent complexities. I mastered handling both on-chain and off-chain data synchronization while maintaining platform usability.
How we built it
The platform combines React.js frontend with Node.js/Express backend, MongoDB for database, and Ethereum smart contracts for immutable record-keeping. I implemented user authentication with JWT, real-time order tracking, and a dual-role system allowing users to be both farmers and consumers.
Challenges we ran into
Integrating blockchain without compromising user experience was challenging. Handling gas fees, wallet connections, and transaction failures required careful error handling. Ensuring data consistency between MongoDB and blockchain while maintaining performance demanded innovative synchronization strategies.
What we learned
Frontend: Web3.js Blockchain: Solidity, Ethereum, Sepolia Testnet,hardhat congiguration
Built With
- dotenv
- express.js
- metamask
- mongodb
- react
- solidity
- web3
Log in or sign up for Devpost to join the conversation.