Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.24 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.24 KB

Secure Development Workshop

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.

Overview

In this workshop we will be protecting a governance heavy application from the consequences of malicious upgrades and or deployment scripts.

Further Reading

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.

Environment Setup

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