Welcome to the README for our Decentralized Application (DApp) built using Truffle, Ganache, Metamask, and npm. This document provides a quick overview of the project and instructions to get started.
Our DApp is a decentralized application built on the Ethereum blockchain using the following technologies:
- Truffle: A development framework for Ethereum.
- Ganache: A personal blockchain for Ethereum development.
- Metamask: A browser extension for interacting with Ethereum dApps.
- npm: A package manager for JavaScript.
The DApp showcases [describe what your DApp does briefly].
Before you begin, make sure you have the following software installed:
- Node.js and npm: Download and install Node.js.
- Truffle: Install Truffle globally using npm:
npm install -g truffle
- Ganache: Download and install Ganache from the official website.
- Metamask: Install the Metamask extension in your browser from the Metamask website.
Node.js version: v20.3.0 lite-server version: ^2.3.0 Solidity version: ^0.8.19 web3 version: ^4.0.3 Truffle version: v5.11.1 (core: 5.11.1) Ganache version or ganache-cli version: v7.9.0 Front End Framework: React
Rest of the versions @emotion/react: 11.11.1 @emotion/styled: 11.11.0 @mui/material: 5.14.4 @testing-library/jest-dom: 5.17.0 @testing-library/react: 13.4.0 @testing-library/user-event: 13.5.0 aws-sdk: 2.1435.0 bootstrap: 5.3.1 react: 18.2.0 react-dom: 18.2.0 react-router-dom: 6.15.0 react-scripts: 5.0.1 web-vitals: 2.1.4 web3: 4.0.3 @babel/plugin-proposal-private-property-in-object: 7.21.11
Follow these steps to set up and run the DApp locally:
-
Clone this repository:
git clone https://github.com/your-username/your-dapp.git
-
Navigate to the project folder:
cd frontend
-
Install project dependencies:
npm install
-
Start Ganache and create a new workspace.
-
Import one of the Ganache accounts into Metamask.
-
Configure Metamask to connect to your Ganache network.
-
Compile and migrate the smart contracts:
truffle compile truffle migrate
-
Start the development server:
npm run start
-
Access the DApp in your browser through the provided URL.
Video Link: https://youtu.be/FlABKUNQHY8
Vikram Narra
Yashank Bhola
Yuxuan Gao
Thank you for using our DApp! If you have any questions or need assistance, please contact us.