Skip to content

paulsimroth/foundry-fund-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundry Fund Me

This is a simple contract to enable a user to receive funds from donations. This project uses foundry. read the Docs below to get started!

Foundry Documentation

https://book.getfoundry.sh/

Usage

Build

$ forge build

Test

$ forge test

Run local tests on Sepolia by forking

$ forge test --fork-url $SEPOLIA_RPC_URL

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Anvil

Anvil is Foundrys local dev blockchain

$ anvil

Deploy

$ forge script script/DeployFundMe.s.sol --rpc-url $RPC_URL --private-key $PRIVATE_KEY

Cast

$ cast <subcommand>

Releases

No releases published

Packages

No packages published