This platform would enable farmers to offer agri-tourism experiences. These could range from farm stays and organic farming workshops to guided tours of their farms. This not only provides farmers with an additional source of income but also promotes educational tourism.
AgriTourETH, is a decentralized platform built on the Ethereum blockchain that bridges the gap between farmers and tourists. Think of it as the Airbnb of agricultural tourism.
AgriTourETH ensures transparent and secure transactions, allowing for a seamless experience for both farmers and tourists.
Why AgriTourETH?: The modern tourist is looking for authentic experiences. AgriTourETH provides just that - a chance to stay at real farms, understand agriculture, and enjoy a unique vacation. For farmers, it's an opportunity to showcase their farms to a global audience, earning additional income in the process. AgriTourETH is not just a platform; it's a movement to bring farmers and tourists closer in a decentralized world.
Motivation: In today's city-focused life, many of us have lost touch with where our food comes from. But, a lot of us are getting curious again, wanting to get closer to the farms and fields where our meals start. Farm visits, or what's fancily called "agricultural tourism", are a fun way to learn and relax. But, finding genuine farm experiences can be tricky. Some places might not be what they seem. That's why we created AgriTourEth – a place where you can find and enjoy real farm stays without the worry.
AgriTourEth provides a seamless interface for tourists and farmers by using the cutting-edge frontend technologies combined with a robust Ethereum-based backend. Here's a deep dive into how we built it:
Partner Technologies: In the journey to build AgriTourEth, i have also used the⚡Scroll Testnet on Sepolia, one of the ETH Online 2023 partners, to ensure our project's resilience, scalability, and efficient gas usage. The seamless integration with Scroll Testnet allowed us to test, iterate, and refine our smart contracts in a near-mainnet environment.
Frontend (Client):
The core of our frontend is powered by Next.js 13, ensuring optimal performance and server-side rendering capabilities. We've used React (v18) as our primary UI library, giving users a smooth, interactive experience. RainbowKit (@rainbow-me/rainbowkit) and Material Tailwind (@material-tailwind/react) were pivotal in creating a consistent, appealing, and responsive UI design. User inputs are seamlessly managed with React Hook Form, and the data integrity is ensured using zod. State management is simplified and streamlined with zustand. Dates are efficiently managed with date-fns and react-date-range, ensuring precise booking and tracking. The frontend seamlessly communicates with the Ethereum blockchain using ethers.js. Toast notifications for user feedback are managed by react-hot-toast. Additionally, various utilities and icons like @heroicons/react, kubo-rpc-client, viem, and wagmi have been used to enrich user interactions and functionalities with smart contract.
Blockchain (agritourismeth):
Our smart contracts are written in Solidity and are deployed using Hardhat, which also facilitates our local development and testing. Typechain has been integrated to bring strong TypeScript typing to our smart contract interactions. Verification of contracts is made easier with⚡Scroll Etherscan Verify and Publish