Skip to content

iansummerlin/fund-me

Repository files navigation

Fund Me

A simple smart contract named FundMe that facilitates crowdfunding by allowing users to contribute funds in Ether to a project.

The contract verifies that the amount contributed meets a minimum threshold in USD value, which is determined by querying a Chainlink Price Feed for the current Eth to USD conversion rate.

Only the owner of the contract can trigger withdrawal of the funds. Additionally, the contract includes functions for retrieving information such as the amount funded by each address.

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

NOTE: make sure you have filled out your .env file based on .env.sample

$ make deploy

OR

$ make deploy-sepolia

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published