Skip to content

Installing Foundry

Installing Foundry locally

Terminal window
curl -L https://foundry.paradigm.xyz | bash

Setting up VSCode

  1. Install https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity
  2. Initialize a foundry project
forge init --template https://github.com/foundry-rs/forge-template hello_template
  1. Open in VSCode

    Screenshot 2024-12-06 at 4.13.26 PM.png

  2. Create a .vscode/settings.json

{
"solidity.packageDefaultDependenciesContractsDirectory": "src",
"solidity.packageDefaultDependenciesDirectory": "lib"
}