Product SupplyChain ETH is a decentralized supply chain management system built on top of the Ethereum blockchain. It allows manufacturers, warehouse logistics providers, delivery hubs, and customers to interact with each other in a secure and transparent manner. This system provides an immutable and transparent ledger to record all the transactions that take place in the supply chain, ensuring that all stakeholders have access to the same information.
yarn, git, docker(optional)
git clone https://github.com/Aymen-Tirchi/AlgeriaChain.git && cd AlgeriaChain
yarn install
Configure ganache-cli for 10 accounts and extend gasLimit to 6721975000 and beyond, so as to have enough gas for migrating the smart contracts and a data flow for the prototype.
yarn ganache
if you want to run the ganache-cli on docker then use the following command
yarn docker
yarn deploy
cd client
yarn install
create .env file and enter the google maps api key and set the react rpc port to 8545 since the ganache-cli runs on the same port by default. The final .env file must look like this
REACT_APP_GOOGLE_MAP_API_KEY=*************************
REACT_APP_RPC=http://127.0.0.1:8545/
yarn start
The app gets hosted by default at port 3000.
This project is licensed under the MIT License.