Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.56 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.56 KB

SocialDApp

A Web3-based community platform for passionate builders to share their journey and connect with like-minded individuals.

Technologies Used

  • Frontend: React
  • Web3 Library: Web3.js
  • Wallet Integration: MetaMask

Getting Started

Prerequisites

  • Node.js (version 14 or higher)
  • npm (version 6 or higher)
  • MetaMask browser extension

Running the App

  1. Clone the repository: git clone https://github.com/your-username/socialdapp.git
  2. Install dependencies: npm install or yarn install
  3. Create a .env file with your private key (e.g. PRIVATE_KEY=0x123456...)
  4. Start the app: npm start or yarn start
  5. Open the app in your browser: http://localhost:3000

Connecting to MetaMask

  1. Click on the "Connect MetaMask" button
  2. Select the MetaMask account you want to connect
  3. Approve the connection request

Project Structure

  • src/: Source code for the app
    • components/: React components
    • contexts/: Contexts for the app (e.g. Web3Context)
    • images/: Images used in the app
    • index.js: Entry point for the app
  • public/: Publicly accessible files
    • index.html: HTML file for the app

Available Scripts

  • npm start: Starts the app in development mode
  • npm run build: Builds the app for production
  • npm run deploy: Deploys the app to a production environment

Contributing

Contributions are welcome! If you'd like to contribute to SocialDApp, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License.

Authors

  • Nikhil Raikwar