Last updated:
0 purchases
This project is a supply chain smart contract written in Solidity and deployed on the Rinkeby test network. This solution showcases how blockchain technology can enhance the authenticity, efficiency, and privacy of supply chain processes, focusing on the Parmigiano Reggiano supply chain.
The smart contract emulates the lifecycle of Parmigiano Reggiano cheese, tracing its journey from the farmer to the consumer. It enforces access control for different roles (Farmer, Distributor, Retailer, and Consumer) and ensures transparency and accountability throughout the supply chain stages.
Role-Based Access Control:
Supply Chain State Management:
Authenticity Verification:
Event Logging:
DApp Integration:
Testing and Simulation:
Development Environment:
Dependencies:
npm install
in the project directory.Blockchain Network:
1. Clone the Repository
bash
Copy code
git clone https://github.com/username/repository-name.git cd Ethereum_SupplyChain
2. Install Dependencies
bash
Copy code
npm install
3. Compile Smart Contracts
bash
Copy code
truffle compile
4. Deploy Contracts
bash
Copy code
truffle migrate --network development --reset --all
truffle.js
file with the appropriate from
address and settings for the Rinkeby network.
bash
Copy code
truffle migrate --network rinkeby --reset --all
5. Run Tests
bash
Copy code
truffle test
6. Start the Frontend DApp
bash
Copy code
npm run dev
bash
Copy code
npm run dev
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.