Skip to content

rushikeshacharya/Coffee-Beans

Repository files navigation

Coffee-Beans

Ethereum Dapp for Coffee Beans

Getting started

  1. Start Ganache
  2. Clone the reposotory
git clone https://github.com/rushikeshacharya/Coffee-Beans
cd Coffee-Beans
  1. Install node dependencies
npm i

4.Compile and Migrate the contracts

truffle compile
truffle migrate
  1. To run test cases
npm run test
  1. To start the Web Application
npm run dev
  1. Open below URL in the browser http://127.0.0.1:3000

  2. To run code coverage report

truffle coverage

Pre-requisite for using Web Application

  1. Add Farmer
  2. Add Distributor
  3. Add Retailer
  4. Add Consumer
  • Note: Only the respective role accounts can add other users. i.e Only the Farmers can add other users as a Farmer and likewise.

Software Configuration


  • Node version: v12.16.1
  • Truffle version: v5.1.19
  • web3 version: v1.2.1

UML Diagrams



Rinkeby Testnet Deployment

SupplyChain Contract Address: 0xb8a125237ba0c8c870775375dd317a18a2b78f0d

About

Ethereum Dapp for Coffee Beans

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published