This workshop will walk you through the basics of securing smart contracts by testing your deployment scripts and governance proposals. We will be using the forge proposal simulator to make this process easier.
In this workshop we will be protecting a governance heavy application from the consequences of malicious upgrades and or deployment scripts.
For governance safety assistance, refer to our forge proposal simulator tool. See the security checklist and security stack for a list of items to consider when building a smart contract system.
Set the ETH_RPC_URL
environment variable to the URL of an Ethereum node. For example, to use the Alchemy mainnet node, run:
export ETH_RPC_URL=https://eth-mainnet.alchemyapi.io/v2/your-api-key
Make sure the latest version of foundry is installed. If not, run:
foundryup