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.
- 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
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.