home / posts / foundry-cheatsheet

Foundry cheatsheet

Run local node with state from mainnet

anvil -f https://eth.merkle.io

Run tests against local node

forge test --rpc-url http://localhost:8545 -vvvvv