๐คUseful Commands
Run Scripts
Foundry DevOps
A repo to get the most recent deployment from a given environment in Foundry. This way, you can do scripting off previous deployments in solidity.
Makefile
@
stops the command being printed out to the command line which is useful when you don't want sensitive info to be printed e.g. private keys.
Anvil
Start a local blockchain using
anvil
Cast
Hex Converstion
Get storage slot from any contract
Get OPCODES for a contract
Forge
Inspect contract and view storage layout
Create .gas-snapshot for all tests
Inspect
List out all the methods and function selectors in a contract
Last updated