PestiVid

Agricultural Blockchain Platform

Welcome Back

Forgot password?

Don't have an account? Sign up

Create Account

Wallet Connection Required

Farmers must connect a MetaMask wallet to receive AVAX payments

Wallet Connected
Wallet: {{ formatWalletAddress(walletAddress) }}

At least 6 characters.

I agree to the Terms and Conditions

Already have an account? Sign in

Welcome Back

Sign in to your PestVid account

Forgot password?

Don't have an account? Sign up here

Join PestVid

Create your account to get started

Farmer Account

You'll need to connect a MetaMask wallet when accessing farmer features to receive AVAX payments

At least 6 characters

Already have an account? Sign in here

PestiVid: Blockchain Transparency in Agriculture

A secure, video-verified agricultural marketplace with investment opportunities. Farmers prove quality and safety via field recordings stored on decentralized storage (IPFS via Pinata) and linked via a simulated blockchain. Buyers purchase crops with complete confidence and traceability. Investors fund projects with transparent returns.

  • Avalanche blockchain transactions with MetaMask
  • Decentralized video storage (IPFS via Pinata)
  • Full traceability for buyers
  • Direct, transparent marketplace transactions
  • Investment opportunities for funders
  • Secure messaging between users
  • Real-time notifications

How It Works

1. Video Recording

Farmers film direct evidence of their crop and practices.

2. Upload to IPFS

Videos & info are securely uploaded and stored decentrally.

3. Verification

Buyers view blockchain-linked video before any purchase.

4. Marketplace

Login provides access to buying, selling, or investing.

Agricultural Investment Platform

Invest in verified agricultural projects with full transparency. Track your investments through Avalanche blockchain technology and share in the harvest profits.

Fund Crops

Invest in specific crops with transparent land use and practices.

Share Returns

Receive dividends based on harvest yields and market prices.

Secure Blockchain

All investments and harvests recorded on immutable ledger (Simulated).

PestiVid: Record Crop Video

Uploading... Please wait.

Allow camera access. Video file is stored locally until upload.

Uploaded to IPFS! CID: {{ uploadCid }}
Video File Hash (SHA256): {{ lastUploadedVideoFileHash }}

This video is now available in your AgriStream. View in AgriStream.
You can also use it later to: Create a Listing, or Use for Funding Request.

Video uploaded for selling! You should be redirected to create a listing. If not, click here to complete the listing.

Video uploaded for a funding request! You should be redirected to create the request. If not, click here to complete the funding request.

{{ uploadError }}

AgriStream: My Crop Videos


No uploads yet. Go to PestiVid to upload.
{{ vid.crop }}
Intended for: {{ vid.purpose === 'sell' ? 'Listing for Sale' : (vid.purpose === 'funding' ? 'Funding Request' : (vid.purpose === 'agristream' ? 'AgriStream (General)' : 'N/A')) }}
Location: {{ vid.location }}
Pesticide: {{ vid.pesticide }}
Pesticide Co.: {{ vid.pesticideCompany || 'N/A' }}
CID: {{ vid.cid }}
File Hash (SHA256): {{ vid.videoFileHash ? vid.videoFileHash.substring(0,10) + '...' : 'N/A' }}
View {{ vid.storageType === 'ipfs' ? 'on IPFS Gateway' : 'on Gateway' }} Already Listed Used for Funding

Sell Farm Crop on Marketplace

You need to upload a video first via PestiVid.

All your eligible videos are already listed or not marked for sale.

Listing created successfully! Listing ID/Tx: {{ createdListingId.substring(0,10) }}...
Buyers have been notified about your new listing.

Your Active Listings

You have no active listings.
  • {{ l.crop }} ({{l.location}})
    CID: {{l.cid.substring(0, 8)}}... ({{l.storageType || 'ipfs'}}) | Pest. Co: {{ l.pesticideCompany || 'N/A' }}
    Buyers notified
    Min: {{ l.minPrice }} AVAX
    Max: {{ l.maxPrice }} AVAX

Request Funding for Your Farm

You need to upload a video first via PestiVid.

All your eligible videos are already used for funding or not marked for funding.

Funding request created and is now visible to investors!

Your Active Funding Requests

You have no active funding requests.

{{ req.title }}

{{ req.status === 'pending' ? 'Pending' : req.status === 'funded' ? 'Fully Funded' : (req.status === 'partially_funded' ? 'Partially Funded' : req.status) }}
Crop
{{ req.crop }}
Land Size
{{ req.acres }} acres
Required
{{ req.amount }} AVAX
Investor Share
{{ req.investorShare }}%
Funding Progress
{{ req.fundedAmount || 0 }} AVAX raised {{ fundingProgressPercent(req) }}% Complete
Investors ({{req.investors.length}})
{{ getFarmerDisplayIdentifier(investor.investorId, 6) }} {{ investor.amount }} AVAX
Fully Funded!

Transport Services

Request Transport Service

Transport costs will be shared between you and the buyer

Your Transport Requests ({{ farmerTransportRequests.length }})

No transport requests yet

Create your first transport request above

{{ request.crop }} Transport

{{ request.quantity }}kg β€’ {{ request.urgency }} priority

{{ request.status.charAt(0).toUpperCase() + request.status.slice(1) }}
From: {{ request.pickupLocation }}
To: {{ request.deliveryLocation }}
Pickup Date: {{ formatDate(request.pickupDate) }}
Estimated Cost: {{ request.estimatedCost }} AVAX

Assigned Transporter

{{ request.transporter.name }}

{{ request.transporter.vehicle }} β€’ {{ request.transporter.phone }}

Rating
Created: {{ formatTimestamp(request.createdAt, true) }}

AgriSell: Marketplace


No listings found matching your criteria. Try adjusting your filters.
NEW
{{ l.crop }}
Location: {{ l.location }}
Pesticide: {{ l.pesticide }}
Pesticide Co.: {{ l.pesticideCompany || 'N/A' }}
Price Range:
{{ l.minPrice }} - {{ l.maxPrice }} AVAX
Sold by: {{ getSellerDisplayIdentifier(l.farmerWallet) }}

Transport Services - Buyer Portal

Request Crop Delivery

You will share transport costs with the farmer

Your Delivery Requests ({{ buyerTransportRequests.length }})

No delivery requests yet

Request delivery for your purchased crops above

{{ request.crop }} Delivery

{{ request.urgency }} priority β€’ {{ request.estimatedCost }} SOL

{{ request.status.charAt(0).toUpperCase() + request.status.slice(1) }}
From: {{ request.pickupLocation }}
To: {{ request.deliveryAddress }}
Delivery Date: {{ formatDate(request.deliveryDate) }}
Your Share: {{ (request.estimatedCost / 2).toFixed(4) }} SOL

Assigned Transporter

{{ request.transporter.name }}

{{ request.transporter.vehicle }} β€’ {{ request.transporter.phone }}

Rating
Created: {{ formatTimestamp(request.createdAt, true) }}

Become a Transport Provider

Join our transport network and earn by providing delivery services

Earn SOL for deliveries
Choose your service areas
Build your reputation

Registration requires a small blockchain fee and vehicle verification

Transport Services - Investor Portal

Investment Project Transports

No transport requests for your investments yet

Transport requests will appear when farmers need to deliver funded crops

{{ request.projectTitle }} - {{ request.crop }}

Investment transport β€’ {{ request.urgency }} priority

{{ request.status.charAt(0).toUpperCase() + request.status.slice(1) }}
From: {{ request.pickupLocation }}
To: {{ request.deliveryLocation }}
Investment Amount: {{ request.investmentAmount }} SOL
Transport Cost: {{ request.estimatedCost }} SOL
Project: {{ request.projectTitle }}

Available Transport Providers

{{ provider.name }}

{{ provider.available ? 'Available' : 'Busy' }}

{{ provider.vehicle }}

{{ provider.capacity }}kg capacity

{{ provider.phone }}

{{ provider.ratePerKm }} SOL/km

{{ provider.rating }}
{{ provider.serviceAreas.length }} areas

Become a Transport Provider

Join our transport network and earn by providing delivery services

Earn SOL for deliveries
Choose your service areas
Build your reputation

Registration requires a small blockchain fee and vehicle verification

Transporter Dashboard

Complete Your Registration

You need to register as a transport provider to access the dashboard.

Completed Jobs

{{ currentTransporter.completedJobs || 0 }}

Active Jobs

{{ getActiveTransportJobs().length }}

Total Earnings

{{ (currentTransporter.earnings || 0).toFixed(4) }} SOL

Rating

{{ (currentTransporter.rating || 5.0).toFixed(1) }}

Quick Actions

Recent Activity

No recent activity

Start accepting transport jobs to see activity here

{{ activity.crop }} Transport

{{ activity.pickupLocation }} β†’ {{ activity.deliveryLocation }}

{{ activity.estimatedCost }} SOL

{{ formatTimestamp(activity.createdAt, true) }}

Transporter Profile

{{ currentTransporter ? 'Update Transport Service' : 'Register Your Transport Service' }}

How Our System Works:

  • β€’ FIFO Priority: Earlier registered transporters get priority
  • β€’ Price Competition: Lower rates increase your chances
  • β€’ Service Areas: Only get requests from your selected areas
  • β€’ Capacity Matching: Only requests within your capacity
  • β€’ Instant Payments: Get paid in SOL immediately upon delivery
Registration requires wallet connection for payments

Current Transport Providers ({{ transportProviders.length }})

{{ provider.name }}

{{ provider.available ? 'Available' : 'Busy' }}

{{ provider.vehicle }}

{{ provider.capacity }}kg capacity

{{ provider.ratePerKm }} SOL/km

Registered {{ formatTimestamp(provider.registeredAt, true) }}

{{ provider.rating }}
{{ provider.serviceAreas.length }} areas

Available Transport Jobs

Filter Jobs

Available Jobs ({{ getFilteredTransportJobs().length }})

No jobs match your criteria

Try adjusting your filters or check back later for new opportunities

{{ job.crop }} Transport

{{ job.quantity }}kg β€’ {{ job.urgency }} priority

{{ job.estimatedCost }} SOL

{{ job.urgency === 'high' ? 'Same day' : job.urgency === 'medium' ? '1-2 days' : '3-5 days' }}

From: {{ job.pickupLocation }}
To: {{ job.deliveryLocation || job.deliveryAddress }}
Pickup Date: {{ formatDate(job.pickupDate || job.deliveryDate) }}
Distance: {{ job.estimatedDistance || 'TBD' }}km

Instructions: {{ job.instructions }}

Posted: {{ formatTimestamp(job.createdAt, true) }}

Earnings & Analytics

Total Earnings

{{ (currentTransporter?.earnings || 0).toFixed(4) }} SOL

β‰ˆ ${{ ((currentTransporter?.earnings || 0) * 25).toFixed(2) }} USD

Completion Rate

{{ getCompletionRate() }}%

{{ currentTransporter?.completedJobs || 0 }} of {{ currentTransporter?.totalJobs || 0 }} jobs

This Month

{{ getMonthlyEarnings().toFixed(4) }} SOL

{{ getMonthlyJobs() }} jobs completed

Recent Payments

No payments received yet

Complete transport jobs to start earning SOL

{{ payment.crop }} Transport

{{ payment.pickupLocation }} β†’ {{ payment.deliveryLocation }}

+{{ payment.amount }} SOL

{{ formatTimestamp(payment.paidAt, true) }}

Investment Opportunities


No investment opportunities found matching your criteria.

Total funding requests in database: {{ allFundingRequests.length }}

After filters applied: {{ filteredFundingRequests.length }}

NEW

{{ project.title }}

{{ project.status === 'pending' ? 'Seeking Funding' : project.status === 'funded' ? 'Fully Funded' : 'Partially Funded' }}
Farmer
{{ getFarmerDisplayIdentifier(project.farmerWallet) }}
Land Size
{{ project.acres }} acres
Timeline
{{ project.timeline }} months
Expected ROI
{{ project.roi }}%
{{ project.crop }} ({{ project.method }})

{{ project.description }}

Funding Progress
{{ project.fundedAmount || 0 }} / {{ project.amount }} SOL {{ fundingProgressPercent(project) }}% Complete

Recent Farmer Updates

{{ formatTimestamp(update.date, true) }}: {{ update.text }}
Investment Terms
Investor Share: {{ project.investorShare }}% of profit

Invest to receive {{ project.investorShare }}% of the profits, proportional to your investment. Expected return is {{ project.roi }}% over {{ project.timeline }} months.

{{ investmentErrors[project._id] }}

No Projects Found

Try adjusting your filters or check back later for new investment opportunities.

Investment Portfolio

Portfolio Overview

Total Invested
{{ totalInvestedAmount }} SOL
Active Projects
{{ investorActiveProjects }}
Completed
{{ investorCompletedProjects }}
Avg. ROI
{{ investorAvgRoi }}%

Your Active Investments

No Active Investments

You haven't invested in any agricultural projects yet.

Project Farmer Invested (SOL) Progress Expected Return (SOL) Status Details
{{ investment.projectTitle }}
{{ investment.crop }}
{{ getFarmerDisplayIdentifier(investment.farmerWallet, 10) }}
{{ investment.amount }}
{{ formatTimestamp(investment.investmentDate, true) }}
{{ investment.progress }}% Complete
{{ calculateExpectedReturn(investment) }}
{{ investment.roi }}% ROI
{{ investment.status.charAt(0).toUpperCase() + investment.status.slice(1) }} View

Platform Transaction History (Simulated)

PestiVid Platform (Simulated Ledger)

No Transactions Yet

Your investment and payout transactions on the platform will appear here.

Transaction ID Type Amount (SOL) Status Date
{{ tx.txHash.substring(0,10) }}...{{ tx.txHash.substring(tx.txHash.length-10) }}
{{ tx.type === 'investment' ? 'Investment' : 'Harvest Payout' }}
{{ tx.amount }}
Confirmed (Sim.)
{{ formatTimestamp(tx.date, true) }}

{{ userName }}

{{ userRoleDisplay }} β€’ Member since {{ memberSinceDisplay }}

{{ currentUserIdentifier }}

Wallet Status

{{ walletConnected ? 'Connected' : 'Not Connected' }}

Contact Information

Email: {{ userEmailDisplay }}

Phone: {{ userPhoneDisplay }}

Platform Statistics

Videos: {{ farmerVideos.length }}

Active Listings: {{ farmerListings.filter(l=>l.status === 'active').length }}

Purchases: {{ buyerPurchases.length }}

Investments: {{ investorInvestments.length }}

Account Status

Role: {{ userRoleDisplay }}

Messages: {{ unreadMessageCount }} unread

Your Uploaded Videos ({{ farmerVideos.length }})

No videos uploaded yet

{{ video.crop }}

{{ video.location }}

{{ video.pesticide }}

{{ video.purpose === 'sell' ? 'For Sale' : video.purpose === 'funding' ? 'Funding' : 'General' }} {{ formatTimestamp(video.uploadDate, true) }}

CID: {{ video.cid }}

Hash: {{ video.videoFileHash ? video.videoFileHash.substring(0,16) + '...' : 'N/A' }}

Your Active Listings ({{ farmerListings.filter(l=>l.status === 'active').length }})

No active listings

Crop Location Pesticide Co. Price Range (SOL) Status
{{ listing.crop }}
CID: {{ listing.cid.substring(0,8) }}...
{{ listing.location }} {{ listing.pesticideCompany || 'N/A' }} {{ listing.minPrice }} - {{ listing.maxPrice }} Active

Your Funding Requests ({{ farmerFundingRequests.length }})

No funding requests created

{{ request.title }}

{{ request.crop }} β€’ {{ request.acres }} acres β€’ {{ request.method }}

{{ request.status === 'pending' ? 'Seeking Funding' : request.status === 'funded' ? 'Fully Funded' : 'Partially Funded' }}

Required

{{ request.amount }} SOL

Raised

{{ request.fundedAmount || 0 }} SOL

Timeline

{{ request.timeline }} months

Expected ROI

{{ request.roi }}%

Funding Progress {{ fundingProgressPercent(request) }}%

CID: {{ request.cid }}

Created: {{ formatTimestamp(request.createdAt, false) }}

Transaction History

Sales Made ({{ farmerSales.length }})

Crop Buyer Amount Date Status
{{ sale.crop }} {{ getFarmerDisplayIdentifier(sale.buyerWallet, 12) }} {{ sale.price }} SOL {{ formatTimestamp(sale.saleDate, true) }} Completed

Purchases Made ({{ buyerPurchases.length }})

Crop Seller Amount Date Action
{{ purchase.crop }} {{ getFarmerDisplayIdentifier(purchase.farmerWallet, 12) }} {{ purchase.price }} SOL {{ formatTimestamp(purchase.purchaseDate, true) }}

Investments Made ({{ investorInvestments.length }})

Project Farmer Amount Expected Return Status
{{ investment.projectTitle }} {{ getFarmerDisplayIdentifier(investment.farmerWallet, 12) }} {{ investment.amount }} SOL {{ calculateExpectedReturn(investment) }} SOL {{ investment.status.charAt(0).toUpperCase() + investment.status.slice(1) }}

No transactions yet

Start {{ role === 'farmer' ? 'selling crops' : role === 'buyer' ? 'buying crops' : 'investing in projects' }} to see your transaction history

Conversations

No conversations yet.

Start a chat from a user's profile or project.

{{ getOtherParticipantInitial(conv) }}
{{ getOtherParticipantDisplayAddress(conv) }}
{{ conv.lastMessageSnippet || 'No messages yet' }}
{{ formatTimestamp(conv.lastMessageTimestamp || Date.now(), true) }}
{{ getUnreadCountForConversation(conv._id) }}

Welcome to PestiVid Chat

Select a conversation from the left to view messages, or start a new chat from a user's profile or project page.

Plant Disease Analysis

Upload Plant Image

Selected image:

Selected plant image

Analysis Results

Analyzing plant image...

Analysis Error

{{ analysisErrorText }}

Plant: {{ parsedAnalysis.plantName }}
Disease: {{ parsedAnalysis.diseaseName }}
Confidence: {{ parsedAnalysis.confidence }}

Treatment Recommendation:

{{ parsedAnalysis.treatmentRecommended }}

Raw AI Output (for debugging if parsing failed):

{{ analysisResultText }}

Upload and analyze a plant image to see results

AgriBot - Your Farming Assistant

{{ n.message }}

{{ loadingMessage }}

Click outside to force close if stuck

Β© {{ new Date().getFullYear() }} PestiVid β€’ Blockchain Agricultural Platform (Role: {{ userRoleDisplay }}) Β© {{ new Date().getFullYear() }} PestiVid β€’ Blockchain Agricultural Platform
Avatar

PestiVid Helper