This project is a crowdfunding platform built using React and Solidity. Based on the Sepolia Ethereum Testnet using Thirdweb SDK. Users can create, browse, and donate to crowdfunding campaigns. Live Demo
The crowdfunding platform is powered by a smart contract deployed on the Sepolia Ethereum Testnet. The smart contract is written in Solidity and contains the main business logic of the platform. It has the following main features:
- Create Campaign: Allows a user to create a new crowdfunding campaign with specific details like title, description, target amount, deadline, and an image.
- Donate: Allows a user to donate Ether to a specific campaign.
- Get Campaigns: Retrieves all the campaigns created on the platform.
- Get User Campaigns: Retrieves campaigns created by a specific user.
- Get Donations: Retrieves all the donations made to a specific campaign.
- Withdraw Funds: Allows the campaign owner to see the collected funds and relevant cash-out information.
The website serves as the frontend for the crowdfunding platform and interacts with the smart contract. The website's main features include:
- Home: Displays a list of all crowdfunding campaigns available on the platform.
- Profile: Shows user's campaigns.
- Create Campaign: Allows a user to create a new crowdfunding campaign by providing the necessary details.
- Campaign Details: Displays the details of a specific campaign, including its donations and the ability to donate.
- Payment: Allows a user to donate to a specific campaign.
- Withdraw: Displays relevant cash-out information and how much the user has collected from their campaigns in total.
- The project makes use of the
@thirdweb-dev/reactlibrary, which simplifies interactions with Ethereum blockchain and smart contracts. - The
StateContextis used to manage global state and provide easy access to the smart contract's functions throughout the application. - The project follows a modular approach, with custom components such as
Navbar,Sidebar,CustomButton,FormField, andFundCardto improve code readability and maintainability. - The website is designed with a responsive layout to provide a good user experience on various devices and screen sizes.
In summary, this crowdfunding platform is a well-structured and feature-rich application that demonstrates the potential of decentralized finance and blockchain technology. By leveraging smart contracts and the Ethereum network, it offers a secure, transparent, and efficient way for users to create and participate in crowdfunding campaigns.
π Web3 Weekend Asia 2023 (W3W) π https://web3weekend.asia
Top 30 Curated Ideas of Web3Weekend! π Web3 Crowdfunding dApps!
