Foundry Example
Overview
Tool
Role in Lithosphere
Basic Setup
Install Foundry
# Install Foundryup (the Foundry installer)
curl -L https://foundry.paradigm.xyz | bash
# Install/update Foundry tools
foundryupInitialize a Foundry Project
Configure for Lithosphere
Building Contracts
Running Tests
Standard Tests
Fuzz Testing
Security Analysis
Slither Static Analysis
Contract CI Pipeline
Gas Snapshots
Deploying with Forge
Further Reading
Last updated