Skip to content

rasta-dave/fundme-crowdsourcing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FundMe - A Crowd-Sourcing Smart Contract

Credit goes to Patrick Collins @ Cyfrin for making this code available on his Youtube channel where he teaches this incredible stuff

FundMe is a decentralized crowd-sourcing application built on Ethereum using Solidity. This smart contract allows users to contribute funds, which only the contract owner can withdraw. The contract also uses Chainlink's Price Feed to set a minimum funding amount in USD.

Features

  • Secure Funding: Only the owner of the contract can withdraw the funds.
  • Minimum Contribution: Enforces a minimum contribution amount in USD using Chainlink's Price Feed.
  • Gas Optimization: Includes a gas-optimized withdraw function.

Prerequisites

Quickstart

git clone https://github.com/rasta-dave/FundMe-Crowdsourcing
cd FundMe-Crowdsourcing
make

Usage

Fund the Contract

Users can fund the contract by sending ETH directly to it or by calling the fund function.

Withdraw Funds

Only the owner of the contract can withdraw funds using the withdraw or cheaperWithdraw function.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published