https://github.com/mayankbohra/crowdfunding
Web3.0 DApp Project for learning how to build a DApp using Next..js and polygon technology.
https://github.com/mayankbohra/crowdfunding
blockchain nextjs solidity web3
Last synced: 3 months ago
JSON representation
Web3.0 DApp Project for learning how to build a DApp using Next..js and polygon technology.
- Host: GitHub
- URL: https://github.com/mayankbohra/crowdfunding
- Owner: mayankbohra
- Created: 2023-10-13T16:27:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-16T19:09:09.000Z (over 1 year ago)
- Last Synced: 2025-01-05T22:12:36.514Z (5 months ago)
- Topics: blockchain, nextjs, solidity, web3
- Language: JavaScript
- Homepage: https://crowd-funding-sigma.vercel.app/
- Size: 384 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Crowdfunding Project
This is a web3-based platform for collecting funds for education, health, or any animal-related causes. It is built using Next.js and Hardhat.
Site is live at 👉 [Crowdfunding](https://crowd-funding-sigma.vercel.app/)## Table of Contents
- [Crowdfunding Project](#crowdfunding-project)
- [Table of Contents](#table-of-contents)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Setting Environment Variables](#setting-environment-variables)
- [Usage](#usage)## Getting Started
### Prerequisites
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- MetaMask wallet with a funded account
- Infura API Key (for RPC and IPFS)### Installation
To set up the project on your local system, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/mayankbohra/CrowdFunding.git
```2. Change directory to the project folder:
```bash
cd crowdfunding-project
```3. Install dependencies:
```bash
npm instal
```### Setting Environment Variables
Create a `.env.local` file in the root of your project and add the following environment variables:
NEXT_PUBLIC_RPC_URL = https://polygon-mumbai.infura.io/v3/YOUR_INFURA_API_KEY
NEXT_PUBLIC_PRIVATE_KEY = YOUR_METAMASK_PRIVATE_KEY
NEXT_PUBLIC_ADDRESS = YOUR_SMART_CONTRACT_ADDRESS
NEXT_PUBLIC_IPFS_ID = YOUR_INFURA_IPFS_API_ID
NEXT_PUBLIC_IPFS_KEY = YOUR_INFURA_IPFS_API_KEY
Make sure to replace the placeholders with your actual values.### Usage
To start the development server, run the following command:npm run dev
Visit `http://localhost:3000` in your web browser to access the crowdfunding platform.