Code Monkey home page Code Monkey logo

farmtract_1.0's Introduction

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 👑

farmtract_1.0's People

Contributors

ritabratadas343 avatar

Stargazers

 avatar

Watchers

 avatar

farmtract_1.0's Issues

smart contract

was juding this.

where is the code for the smart contracts for this?
are they deployed on testnet?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.