Welcome to the Supply Chain DApp User Guide! This document will walk you through the various components and functionalities of the Supply Chain DApp. Our application is designed to be intuitive and user-friendly, making it easy for users to interact with different components of the decentralized application (DApp).
- MetaMask: Ensure you have MetaMask installed and configured in your browser. MetaMask acts as your digital wallet and is essential for interacting with the Ethereum blockchain.
- Ether: You will need a small amount of Ether in your MetaMask wallet to perform transactions.
- Open the DApp: Navigate to the DApp's URL in your browser.
- Connect MetaMask: Click on the 'Connect to MetaMask' button.
- Approve Connection: A MetaMask prompt will appear asking for your permission to connect. Approve the connection to proceed.
- Harvest Item: Fill out the necessary details like UPC, farm information, and product notes. Click 'Harvest' to record the harvesting of a new item.
- Process, Pack, and Sell: For items you have harvested, you can process, pack, and sell them. Enter the UPC and follow the on-screen instructions.
- Buy and Ship Items: As a distributor, you can buy items from farmers and ship them. Enter the UPC of the item you want to buy or ship and confirm the transaction.
- Receive Items: Retailers can mark items as received upon arrival. Enter the UPC of the item and confirm its receipt.
- Purchase Items: As a consumer, you can purchase items from retailers. Enter the UPC of the item you wish to buy and complete the purchase.
- Contract Management: If you are an admin, you can access additional functionalities like toggling the contract state or transferring ownership.
- Item Details: Enter the UPC of an item to view its details including origin, product notes, and current state.
- Track History: Enter the UPC to track the history of an item through the supply chain.
When performing actions like harvesting, buying, or selling items, you will be prompted by MetaMask to confirm the transaction and pay any associated gas fees.
-
Why do I need MetaMask? MetaMask acts as your digital wallet and is necessary for interacting with the Ethereum blockchain.
-
What are gas fees? Gas fees are payments made by users to compensate for the computing energy required to process and validate transactions on the Ethereum network.
-
Can I use the DApp without Ether? No, you need a small amount of Ether in your MetaMask wallet to pay for transaction fees.
For any further queries or technical support, please contact our support team at [[email protected]].
Thank you for using the Supply Chain DApp. We hope this guide helps you navigate and use our application effectively!