This project showcases a simple decentralized crowdfunding (crowdsale) smart contract written in Solidity. Users can contribute Ether to a fundraising campaign, and when the campaign reaches its goal, the funds are released to the beneficiary. If the campaign doesn't reach its goal within a specified time frame, contributors can claim a refund.
This smart contract can be used for creating decentralized fundraising campaigns. It ensures transparency, accountability, and automation of fund management.
Follow these steps to get started with the project on your local machine.
- Node.js and npm: Install Node.js and npm by downloading and installing from nodejs.org.
- Clone the repository:
git clone https://github.com/MuzamilJillani/CrowdFund.git cd CrowdFund
- Install Dependencies:
npm install
- Run the Hardhat local network:
npx hardhat node
- Deploy the smart contract:
npx hardhat run scripts/deploy.js --network localhost