Skip to content

Tolu-Mals/Crowd-Funding-Contract

Repository files navigation

Foundry Fund Me (F25)

A decentralized crowdfunding smart contract built with Foundry, as part of the Cyfrin Updraft smart contract development course.

This project demonstrates core Ethereum development concepts such as funding contracts with ETH, price feeds via Chainlink, owner-only withdrawals, and testing with Foundry.


📌 Overview

Fund Me allows users to fund a smart contract with ETH, enforcing a minimum USD value using Chainlink price feeds.
The contract owner can withdraw the accumulated funds, while keeping track of all contributors and their funded amounts.

This repository follows best practices taught in the Cyfrin Updraft course, including clean contract structure, gas optimizations, and thorough testing.


✨ Features

  • Fund contract with ETH
  • Enforces minimum contribution using Chainlink price feeds
  • Tracks funders and their contributions
  • Owner-only withdrawal
  • Gas-optimized withdrawal logic
  • Fully tested using Foundry
  • Network-aware deployments (local + testnet support)

🛠 Tech Stack

  • Solidity ^0.8.x
  • Foundry (Forge, Anvil, Cast)
  • Chainlink Price Feeds
  • Cyfrin Updraft course structure & best practices

📂 Project Structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors