Skip to content

Latest commit

 

History

History
65 lines (37 loc) · 3.06 KB

User-Guide.md

File metadata and controls

65 lines (37 loc) · 3.06 KB

User Guide for Supply Chain DApp

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

Getting Started

Prerequisites

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

Connecting to MetaMask

  1. Open the DApp: Navigate to the DApp's URL in your browser.
  2. Connect MetaMask: Click on the 'Connect to MetaMask' button.
  3. Approve Connection: A MetaMask prompt will appear asking for your permission to connect. Approve the connection to proceed.

Navigating the DApp

Farmer Section

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

Distributor Section

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

Retailer Section

  • Receive Items: Retailers can mark items as received upon arrival. Enter the UPC of the item and confirm its receipt.

Consumer Section

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

Admin Panel

  • Contract Management: If you are an admin, you can access additional functionalities like toggling the contract state or transferring ownership.

Viewing Item Details and History

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

Performing Transactions

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.

FAQ

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

Support

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!