fourat-bs / Agro_Dapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agro Dapp

This project is a blockchain Application for Agricultural Supply Chain based on Ethereum smart contracts using Truffle and Solidity.
The application is rendered with React 17.

Requirements

Installation

  • clone this repository on your machine
  • open your command line tool and run the following commands:
  cd repository-location
  cd client
  npm install
  • open Ganache > New Workspace > and indicate the truffle-config.js file path
  • after making sure that Ganache is up and running execute the following commands:
  truffle compile
  truflle migrate

Run the project

  npm start
  • click here to open your localhost
  • open MetaMask and import as many as accounts you want from Ganache using their private keys
  • make sure to connect to the React application from a different account for each feature
  • after putting some items for sale you can install this Mobile application on your android phone in order to test the QR code

Feel free to contact the developers for all your support needs.

About

License:MIT License


Languages

Language:JavaScript 78.0%Language:Solidity 13.8%Language:CSS 5.4%Language:HTML 2.8%