Skip to content

RitabrataDas343/Farmtract_1.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Farmtract_1.0

forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge forthebadge

This app allows you to create smart contracts with farmers and eliminate middlemen.

Starting the Project

Requirements:

Please follow the guides of the following before starting to work on the project:

  1. Clone the Repository

    git clone https://github.com/RitabrataDas343/Farmtract_1.0.git
    cd Farmtract_1.0
  2. Install the dependencies

    sudo apt install npm
  3. Run the project

    npm run start
  4. Head to server http://localhost:3000

Overview

The Farm Law

➜ Overview of Contract Farming: Contract farming is the process of agricultural production carried out according to an agreement between unequal parties, companies, government bodies or individual entrepreneurs on one side and economically weaker farmers on the other which establishes conditions for the production and marketing of farm products.

➜ Why the Farmers Protesting: The history of contract farming has many examples of non-payment by the companies making various excuses like substandard produce. A company is big and powerful and have legal team to make one sided contracts, also they have analysts to pick the price best for them. There’re so many loopholes to make fraud with the farmers.

Solution is Smart Contract

We will create a platform, Farmtract, to solve this problem where the farmers as well as who want to make contract can complete their agreement through smart contracting and cryptocurrency.

Workflow

  • All users who wish to participate in the contract are required to create a blockchain account in Portis.

  • Farmer will provide information like Name, contact details, cryptocurrency wallet address (to receive or transfer payment), farm size, evidence of land (land registry number) etc.

  • System will list all the projects based on parameters like region, crops, farm size range, approximate predicted yield etc.

  • Once the two parties agree on specified terms and condition , the buyer can deposit the tokens as escrow money in the contract the project will be deployed on Ethereum network.

  • The contract will run till the specific duration determined by both the parties.

  • When the farmer successfully harvests the crop, then as per specified terms and conditions, the smart contract will be executed, and the payment would be transferred to farmers account.

Technology

This app uses the following technologies:

NodeJS JavaScript HTML5 CSS3 Webpack Canva Visual Studio Code Git GitHub Heroku Bitcoin

Compatible on

Ubuntu Debian Windows 10 Linux Fedora

Collaborators

I would like to thank my first Hackathon Team Magnus for making this project a grand success:

HAIL MAGNUS 👑