Giter VIP home page Giter VIP logo

seedsower / farmerchain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imshubhamsingh/farmerchain

0.0 2.0 0.0 36.6 MB

A​ ​ collaborative​ ​ and​ ​ collective​ ​ pool​ ​ farming​ ​ system​ with​ ​ built​ ​ in​ ​ blockchain​ ​ based​ ​ self​ ​ financing​ ​ system​ ​ to​ ​ help​ ​ farmers​ ​ become​ ​ self-reliant. | ᴘʀᴏᴏꜰ ᴏꜰ ᴄᴏɴᴄᴇᴘᴛ

License: MIT License

JavaScript 81.84% HTML 1.46% CSS 16.70%

farmerchain's Introduction


FarmerChain

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
[email protected] welcome@54321
[email protected] welcome@54321
[email protected] 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 https://github.com/imshubhamsingh/FarmerChain.git
  • 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.

farmerchain's People

Contributors

imshubhamsingh avatar

Watchers

James Cloos avatar  avatar

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.