This project is a template showing how to get started with Foundry, testing, and deploying a simple smart contract.
Foundry consists of:
- Forge: Ethereum testing framework (like Truffle, Hardhat and DappTools).
- Cast: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- Anvil: Local Ethereum node, akin to Ganache, Hardhat Network.
- Chisel: Fast, utilitarian, and verbose solidity REPL.
• Use the Makefile to run common commands
make help
make anvil
make deploy
make fund
make withdraw
forge build
forge test
forge test -vvv
forge coverage
Coverage line highlighting in VSCode
forge fmt
forge snapshot
anvil
cast <subcommand>
forge --help
anvil --help
cast --help