FundDefi is a decentralized application (DApp) that enables users to create and manage fundraising campaigns on the Ethereum blockchain.
- Create Fundraising Campaigns: Users can initiate campaigns by setting a target amount, category, and sharing their story.
- Contribute Securely: Contributors can donate ETH to campaigns directly through the DApp, with transactions recorded on the blockchain.
- IPFS Storage: Campaign stories and images are securely stored on IPFS using Pinata for decentralized and tamper-proof storage.
- Responsive Design: The DApp is optimized for all screen sizes, ensuring a seamless user experience on both desktop and mobile devices.
- Solidity: The core of the DApp's smart contract logic is written in Solidity, the leading language for Ethereum smart contracts.
- Hardhat: A comprehensive development environment for compiling, deploying, and testing smart contracts.
- Ethers.js: A powerful library for interacting with the Ethereum blockchain and smart contracts from the frontend.
- IPFS (Pinata): Decentralized file storage using IPFS, with Pinata providing a user-friendly interface for managing IPFS uploads.
- Chai: A BDD/TDD assertion library for testing smart contracts and ensuring reliable code.
- Next.js: A React framework for building fast and scalable web applications, serving as the frontend of the DApp.
- TailwindCSS: A utility-first CSS framework that ensures a modern and responsive design for the DApp.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/your-repo-name.git cd your-repo-name
-
Install dependencies:
npm install
- Deploy the contract:
npx hardhat run scripts/deploy.js --network your-network ```
- Start the Next.js Frontend:
npm run dev```
- Access the DApp: Open your browser and navigate to http://localhost:3000