Milk Tracker is a decentralized supply chain tracking system designed to bring transparency, immutability, and trust to the dairy industry. Built on the Flare Network (Coston2 Testnet), it enables farms, distributors, and consumers to track milk batches from source to table with verifiable blockchain records.
- Network: Flare Coston2 Testnet
- Contract Address:
0x5a2fF245Af24DCa6635b80BA83184be50642ED75 - Explorer: View on Coston2 Explorer
Traditional dairy supply chains often suffer from:
- Lack of Transparency: Difficulty in verifying the true origin of products.
- Data Silos: Inconsistent records across different stakeholders.
- Trust Issues: Reliance on paper trails that can be easily forged.
MilkTracker solves these problems by anchoring every batch entry on a public blockchain.
- Immutable Record Keeping: Once a batch is recorded, it cannot be altered.
- Farm-to-Table Traceability: Track quantity, source farm, and timestamps.
- Instant Verification: Consumers and auditors can verify provenance without intermediaries.
- User-Friendly Dashboard: Simple interface for farms to log data and for users to view history.
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS 4
- Blockchain Interaction: Wagmi & Viem
- Wallet Connection: RainbowKit
- Animations: GSAP & Lottie React
- Icons: Lucide React
Follow these steps to run the project locally.
Ensure you have the following installed:
git clone https://github.com/abhishekratnakar31/MilkTracker.git
cd miltrackernpm install
# or
yarn install
# or
pnpm installCreate a .env.local file in the root directory and add your WalletConnect Project ID. You can obtain one for free from WalletConnect Cloud.
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_project_id_herenpm run devOpen http://localhost:3000 with your browser to see the application.
To create an optimized production build:
npm run buildTo start the production server:
npm run startContributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available under the MIT License.