Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust. Install Foundry here.
A curated list of awesome Foundry resources, tutorials, tools and libraries. Inspired by awesome-go.
Please take a quick view at the contribution guidelines first.
If you see a package or project here that is no longer maintained or is not a good fit, please submit a pull request to improve this file. Thank you!
Frameworks, plugins and utilities for Foundry.
- Foundryup - Update or revert to a specific Foundry branch with ease.
- Foundry Hardhat - Hardhat plugins to use foundry tools in hardhat environments.
- Foundry Template - A template for a Foundry project.
- Forge Template - A template for quickly getting started with forge.
- Forge Standard Library - Collection of helpful contracts for use with forge and foundry.
- Forge GHA - Simple Github Actions workflow to run forge test.
- Forge Replit - Run Forge in the browser, vanilla setup.
- Forge Snippets - VS Code Snippets for Forge.
- Foundrydeploy - Limited scripting (declarative?) language to implement a basic deployment pipeline using foundry.
- Foundry Docgen - A basic tool for generating markdown docs for a Foundry project using existing NatSpec comments in the contracts.
Solidity libraries or utilities that use Foundry.
- Solmate - Modern, opinionated, and gas optimized building blocks for smart contract development.
- Chain Claim - Solidity lib and helper scripts for providing claim code generation and on chain verification of a claim.
- Playpen - Set of modern, gas optimized staking pool contracts.
- TokenMigrator - A simple contract for migrating from an old ERC20 token to a new ERC20 token.
- VestedERC20 - A wrapper ERC20 token that linearly vests an underlying ERC20 token to its holders.
- lil web3 - Small, focused, utility-based smart contracts.
- RollCall - Rollup Governance Libraries.
- Forge Optimism - Forge Optimism is a collection of helpful contracts for use with forge and foundry on Optimism.
- Yearn Strategy Foundry Mix - Basic Solidity Smart Contract for creating your own Yearn Strategy.
- Foundry-Hardhat-Diamonds- Sleek EIP2535 Diamond deployments on the go with foundry
- Founndry Lens Protocol - Lens Protocol fork that supports Foundry.
- Getting Started by Crisgarner - Short intro tutorial for getting started.
- Getting Started by Wilson - Extended tutorial with information about testings and logging.
- Getting Started by What The Func? - Video tutorial.
- How to Foundry with Brock Elmore - YouTube live code tutorial on how to get started with Foundry.
- Foundry Book - A book on all things Foundry.
- Mainnet Forking - This article teaches how to run a locally simulate a swap on Uniswap.
- Ethernaut x Foundry - Ethernaut puzzles solved & tested with foundry.
- Damn Vulnerable Defi - Foundry Version - The Damn Vulnerable Defi CTF using Foundry.
- Getting Started (Chinese) - Getting started tutorial on Chinese.
- Foundry vs Hardhat - Differences in performance and developer experience.
- OpenSea Seaport - Seaport is a new marketplace protocol for safely and efficiently buying and selling NFTs.
- MapleLoan - Set of contracts to facilitate on-chain Loans between Maple Finance Pools and institutional borrowers.
- Cryptex Finance - Index token that tracks the total cryptocurrency market capitalization. (Optimism version uses Foundry tests).
- Gov of Venice - Governance of Venice is a new paradigm in DAO governance, attempting to standardise the existence of functional groups within DAOs (Guilds) in terms of how they participate in the Governance process of different DAOs.