Skip to content
This repository has been archived by the owner. It is now read-only.
A​ ​ collaborative​ ​ and​ ​ collective​ ​ pool​ ​ farming​ ​ system​ with​ ​ built​ ​ in​ ​ blockchain​ ​ based​ ​ self​ ​ financing​ ​ system​ ​ to​ ​ help​ ​ farmers​ ​ become​ ​ self-reliant. | ᴘʀᴏᴏꜰ ᴏꜰ ᴄᴏɴᴄᴇᴘᴛ
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea side bar Nov 23, 2017
accounts deployed Dec 19, 2017
contracts bug fixes Jan 5, 2018
migrations finally Dec 9, 2017
public more screenshots Jan 1, 2018
src deployed Dec 19, 2017
.babelrc added ebv Dec 1, 2017
.eslintrc.js added .eslintrc.js Nov 30, 2017
.gitignore final Dec 1, 2017
LICENSE.txt added license Dec 31, 2017
Procfile final Dec 1, 2017 added dummy accounts Jan 2, 2018
logo.svg finishing up readme Dec 31, 2017
package-lock.json fixed minor bugs Dec 10, 2017
package.json added .env Dec 16, 2017
server.js working on blockchain Dec 3, 2017
truffle-init.json finally Dec 9, 2017
truffle.js finally Dec 9, 2017


A blockchain based collaborative pool-farming system and self-financing platform

FarmerChain was built for the DigitalOcean Campus Champ in an attempt to provide a solution to the stinging problem of lack of organised banking in the rural sector.

The application is hosted on DigitalOcean and a working prototype can found here.

Dummy Accounts

Our prototype uses truffle framework for its blockchain implementation. Since truffle is limited to 10 accounts, no more accounts can be created on our platform. Some dummy accounts have thus been provided for you to test the project.

Username Password welcome@54321 welcome@54321 welcome@54321

The application itself is divided into three parts.

  1. Farmer Bank
  2. Pool Farming
  3. Cart Farm


Farmer Bank

Banking in the rural sector has always been haphazard. Farmers in India historically have depended on the indigenous banking system consisting of shroffs, money lenders and traders, charging absurdly high amounts of interest, for meeting their short term and long term credit requirements. One of the main reasons organised banking hasn’t penetrated rural India is mainly due to absence of collateral security. The higher operating costs and lower margins kept these banks outside making it a monopoly of the money lenders who are sucking the ordinary farmer dry reducing them to pitiful conditions.

Farmer Bank aims to solve the problem with a smart contract built for managing a pool of money contributed by a group of members and processing loan requests from the members. Currently, Farmer Bank processes loan requests based on the following criteria:

1. Only members can add funds or request loans
2. A member can request twice the amount he put in.
3. The maximum loan that is issued is half the total amount in the pool.

This is done to prevent the pool from getting drained and promote sustenance. As with most blockchain based solutions, Farmer Bank derives its powers from a large set of users.

FarmerBank request loans

Members can add money to the pool

Adding money to the pool

Adding a member requires moderator or owner privileges(analogous to a Sarpanch or Panch in rural settings).

Member Added Confirmation

Pool Farming

Pool Farming is a platform based on shared economy facilitating exchange of three different types of services: Hand, Machine and Storage.

UI for adding pool requests

Hand : Meant for exchanging manpower
Machine : Meant for exchanging tools and machinery
Storage : Meant for exchanging the use of storage facilities.

Pooling offers

Pooling offers

Cart Farm

Cart Farm is a platform for requesting and outsourcing the need for bringing and delivering supplies. Going to town? You can collect requests from others and bring them their required goods in exchange for a small commission.

Cart Farm UI

You can even pay for the purchase directly on the platform also powered by blockchain technology!

Running a local instance

  • Clone the repo git clone
  • cd FarmerChain
  • Edit .env file with firebase configuration
  • Start truffle blockchain using truffle develop
  • In the truffle console, compile then migrate
  • Open a new terminal and cd into the folder, then run npm build
  • Navigate to localhost:5020

Tech Stack

Front End

  1. React JS
  2. HTML5
  3. CSS3
  4. Web3

Back End

  1. Truffle
  2. Webpack
  3. NodeJS
  4. Ethereum Solidity

License License

Copyright (c) 2017 Naman Gupta & Shubham Singh, This software is licensed under the MIT License.

You can’t perform that action at this time.