awesome-foundry
Foundry toolkit resources
A curated list of resources and tools for the Foundry development framework
A curated list of awesome of the Foundry development framework.
1k stars
23 watching
128 forks
last commit: 2 months ago
Linked from 1 awesome list
Awesome Foundry / Tools | |||
Audit_Helper | 20 | almost 2 years ago | audit_helper is a Python3 helper script for Linux to automate some Foundry boilerplate set up in audit repositories |
Blacksmith | 315 | about 1 year ago | Blacksmith generates a simple frontend for interacting with smart contracts |
Chisel | 8,404 | 2 days ago | Chisel is a fast, utilitarian, and verbose solidity REPL. It is heavily inspired by the incredible work done in soli and solidity-shell! |
Foundryup | 8,404 | 2 days ago | Update or revert to a specific Foundry branch with ease |
Foundry Hardhat | 93 | 5 months ago | Hardhat plugins to use foundry tools in hardhat environments |
Forge Deploy | 114 | about 1 month ago | A cli and associated contracts to keep track of deployments by name and reuse them in solidity. It tries to keep compatibility with hardhat-deploy as far as possible (work in progress) |
Forge Standard Library | 856 | 12 days ago | Collection of helpful contracts for use with forge and foundry |
Forge GHA | 231 | 7 months ago | Simple Github Actions workflow to run forge test |
Forge Replit | Run Forge in the browser, vanilla setup | ||
Forge Safe | 118 | 8 days ago | Forge Safe lets Forge users build Gnosis Safe batch transactions using Forge scripting in Solidity |
Forge Safer | 129 | 8 months ago | Safer lets users to create transactions on a Safe without relying on Safe's backend, improving resiliency of Safe multisigs |
Forge Snippets | 64 | about 1 year ago | VS Code Snippets for Forge |
ForGePT | AI bot to provide support and answer foundry related questions | ||
Foundrydeploy | 58 | over 2 years ago | Limited scripting (declarative?) language to implement a basic deployment pipeline using foundry |
Foundry Docgen | 50 | over 2 years ago | A basic tool for generating markdown docs for a Foundry project using existing NatSpec comments in the contracts |
Foundry Gas Diff Reporter | 204 | 26 days ago | Github Action to easily compare gas reports generated by Foundry automatically on each of your Pull Requests |
Foundry toolchain Action | 231 | 7 months ago | This GitHub Action installs Foundry, the blazing fast, portable and modular toolkit for Ethereum application development |
Foundry Canary | 46 | about 2 years ago | A minimal foundry repo setup for examples and finding bugs |
Forge Proposal Simulator | 63 | 2 months ago | A tool to write, simulate and test governance proposals |
Foundry zkSync Era | 307 | 1 day ago | This repository provides Foundry functionality in Solidity for compiling, deploying, and interacting with smart contracts on zkSync Era |
Femplate | 382 | almost 2 years ago | Robust Template for Foundry Projects |
Halmos | 835 | 5 days ago | Symbolic Bounded Model Checker for Ethereum Smart Contracts Bytecode |
Hardhat Foundry | 7,380 | 1 day ago | This plugin makes it easier to use Hardhat and Foundry in the same project. You can use it both for adding Foundry to an existing Hardhat project, and to add Hardhat to an existing Foundry project |
Paradigm CTF Template | 154 | over 1 year ago | Template for efficient paradigm ctf testing & scripts |
Quick POC | 317 | 11 months ago | easy POC template generation from the command line |
Solplot | 156 | 12 months ago | A Foundry plugin that enables you to plot charts within solidity |
Vulcan | 286 | 4 months ago | Development framework for Foundry projects, with a focus on developer experience and readability |
Awesome Foundry / Templates & Libraries | |||
Zefram's Foundry Template | 155 | 4 months ago | @ZeframLou's Foundry template |
Paul's Foundry Template | 570 | 23 days ago | @PaulRBerg's Foundry template |
Frankie's Forge Template | 232 | over 2 years ago | @FrankieIsLost's template for quickly getting started with Forge |
Immunefi's PoC Templates | 419 | about 1 month ago | @Immunefi-team's templates for quickly getting started with a proof of concept for testing vulnerabilities |
Foundry Hardhat Template | 240 | over 2 years ago | Template repository for getting started quickly with Hardhat and Foundry in one project |
Foundry Vyper | 175 | 5 months ago | A Foundry template to compile and test Vyper contracts |
Foundry Starter Kit | 335 | 4 months ago | Foundry Starter Kit is a repo that shows developers how to quickly build, test, and deploy smart contracts with one of the fastest frameworks out there |
Foundry Hardhat TypeScript Template | 216 | 4 days ago | A fully-fledged Hardhat project template based on TypeScript that includes the Foundry toolkit |
Foundry Vulcan Template | 30 | over 1 year ago | This repository is a template for smart contract projects based on Foundry. It includes Vulcan to make your life easier when writing tests and scripts |
Foundry <> Python Differential Fuzz Testing template | 41 | about 2 years ago | A lot of financial quant work gets modelled in Python and sometimes these models needs to be implemented in Solidity to be used in a protocol |
Solady | 2,635 | 5 days ago | Gas optimized Solidity Libraries |
Solidify | 124 | over 1 year ago | solidify is a golang + solidity library aimed to make storing arbitrary data on EVM blockchains as easy and efficient as possible |
Solmate | 3,978 | about 2 months ago | Modern, opinionated, and gas optimized building blocks for smart contract development |
Chain Claim | 51 | over 2 years ago | Solidity lib and helper scripts for providing claim code generation and on chain verification of a claim |
Playpen | 274 | almost 2 years ago | Set of modern, gas optimized staking pool contracts |
TokenMigrator | 36 | almost 3 years ago | A simple contract for migrating from an old ERC20 token to a new ERC20 token |
VestedERC20 | 242 | almost 3 years ago | A wrapper ERC20 token that linearly vests an underlying ERC20 token to its holders |
forge-gas-snapshot | 98 | 3 months ago | A flexible gas snapshotting library for forge tests |
lil web3 | 1,175 | about 2 years ago | Small, focused, utility-based smart contracts |
RollCall | 73 | about 2 years ago | Rollup Governance Libraries |
Forge Optimism | 56 | over 2 years ago | Forge Optimism is a collection of helpful contracts for use with forge and foundry on Optimism |
Yearn Strategy Foundry Mix | 104 | about 1 year ago | Basic Solidity Smart Contract for creating your own Yearn Strategy |
Foundry-Hardhat-Diamonds | 73 | about 1 year ago | Sleek EIP2535 Diamond deployments on the go with foundry |
Foundry Lens Protocol | 17 | over 2 years ago | Lens Protocol fork that supports Foundry |
XChain | 81 | over 2 years ago | Cross chain call library for Solidity & Foundry |
Solenv | 158 | over 2 years ago | A dotenv parser for Solidity & Foundry |
surl | 325 | over 1 year ago | HTTP library for Foundry tests in Solidity based on curl |
unix | 62 | over 2 years ago | A lightweight, extensible Foundry library for shell scripting |
Chainlink Brownie Contracts | 334 | about 2 months ago | This repository is a slimmed down version of Chainlink's official repo. It clones only the Chainlink contracts folder and the repo automatically updates every time there is a new NPM release |
Upgradeable Contracts With OpenZeppelin and Foundry | 94 | over 1 year ago | A minimal set of contracts showing how to implement UUPS and Transparent Upgradeable Proxy contracts using foundry, along with testing and deployment with Forge Script |
Foundry Upgrades | 170 | about 2 years ago | Helper smart contracts to deploy and manage upgradeable contracts on Ethereum |
PRBMath | 894 | about 2 months ago | Solidity library for advanced fixed-point math that operates with signed 59.18-decimal fixed-point and unsigned 60.18-decimal fixed-point numbers |
ChugSplash Foundry | 96 | 11 months ago | A Foundry library for deploying and managing upgradeable smart contracts |
Invariant Examples | 163 | over 1 year ago | This repository functions as an accessible example for Foundry developers to experiment and learn about invariant testing |
Foundry Multichain | 45 | over 1 year ago | This repo provides an example of a multichain Solidity Deployment/Upgradability script pattern |
Foundry Safer Log | 50 | over 1 year ago | The safelog library provides a foundry/hardhat like console logging interface whereby the individual log functions do not modify the state of memory |
Diamond-Foundry | 79 | over 1 year ago | Foundry implementation of EIP2535 Diamond standard |
balance-snapshot | 3 | 5 months ago | A Solidity library to improve balance change check in Foundry tests |
Cannon | Continuous configuration automation & development cli multi-tool. Like Terraform, Docker and NPM for Ethereum | ||
Awesome Foundry / Tutorials | |||
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 | ||
Learn Solidity, Blockchain Development, & Smart Contracts | Full introduction course into all of the core concepts related to blockchain, smart contracts, Solidity, ERC20s, full-stack Web3 dapps, decentralized finance (DeFi), Chainlink, Ethereum, upgradable smart contracts, DAOs, aave, IPFS, and more; everything build with Foundry. Video 1 out of 3 | ||
Mainnet Forking | This article teaches how to run a locally simulate a swap on Uniswap | ||
Ethernaut x Foundry | 271 | over 1 year ago | Ethernaut puzzles solved & tested with foundry |
Damn Vulnerable Defi - Foundry Version | 495 | 11 months ago | The Damn Vulnerable Defi CTF using Foundry |
Getting Started (Chinese) | Getting started tutorial on Chinese | ||
Foundry vs Hardhat | Differences in performance and developer experience | ||
Smart Contract Development with Foundry | Extended video tutorial on Foundry covering tests, deployments, cast usage, deploying to a live network | ||
DeFiHackLabs | 5,387 | 5 days ago | Reproduce DeFi hack incidents using Foundry |
DeFiVulnLabs | 1,640 | about 1 month ago | To learn common smart contract vulnerabilities using Foundry |
How to test a contract function a million times | Tutorial about testing a function of OpenZeppelin Contracts library using foundry fuzzing | ||
forge inspect $CONTRACT Tweetstorm by @w1nt3r_eth | Twitter thread about how to use forge inspect $CONTRACT ir-optimized | ||
Fork testing with Foundry against a specific block number? | pro tip by @PaulRBerg | ||
Using Foundry to Explore Upgradeable Contracts (Part 1) | Using Foundry tests to illustrate the various techniques used to make contracts upgradeable | ||
Foundry Best Practices | This guide documents the suggested best practices when developing with Foundry. In general, it's recommended to handle as much as possible with forge fmt, and anything this doesn't handle is below | ||
Invariant Testing WETH With Foundry | In this short guide, we'll write invariant tests from the ground up for Wrapped Ether, one of the most important contracts on mainnet | ||
Tic Tac Token | Tic Tac Token will teach you Foundry from the ground up while you create Tic Tac Toe and learn how to write and test Solidity smart contracts using Foundry | ||
Awesome Foundry / Projects Using Foundry | |||
0xHacked | 1 | 7 months ago | A trustless bug bounty platform built on zero-knowledge proof, where the whitehat can submit the proof of exploit to claim a bug bounty without disclosing any details. We referred to the implementation of Foundry |
Art Gobblers | 430 | about 2 years ago | Contracts for Art Gobblers, the self-sustaining art factory, with custom ERC721 implementation with VRGDAs, GOO integration and differential fuzzing |
OpenSea Seaport | 2,160 | about 2 months ago | Seaport is a new marketplace protocol for safely and efficiently buying and selling NFTs |
Optimism Contracts Bedrock | 5,720 | 1 day ago | This package contains the smart contracts that compose the on-chain component of Optimism's upcoming Bedrock upgrade |
MapleLoan | 2 | 6 days ago | Set of contracts to facilitate on-chain Loans between Maple Finance Pools and institutional borrowers |
Cryptex Finance | 34 | 14 days ago | Index token that tracks the total cryptocurrency market capitalization. (Optimism version uses Foundry tests) |
Gov of Venice | 61 | almost 3 years ago | 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 |
Beefy Finance | 182 | 6 days ago | Official repo for strategies and vaults from the Beefy yield optimizer |
DeFi Hacks Reproduce - Foundry | 5,387 | 5 days ago | Reproduce DeFi hack incidents using Foundry |
Tokenlon | 89 | 1 day ago | Tokenlon is a decentralized exchange and payment settlement protocol |
Uniswap V3 Development Book | Development book about Uniswap V3 built using Foundry | ||
Uniswap Permit | 771 | 4 months ago | Permit2 introduces a low-overhead, next generation token approval/meta-tx system to make token approvals easier, more secure, and more consistent across applications |
More related projects:
- paulrberg/prb-test
- huff-language/huff-examples
- jg8481/robot-framework-solidity-testing-toolkit
- 0xjcn/ethernaut-ctf
- 0xjcn/damn-vulnerable-defi-v3-ctf
- oguimbal/hyvm
- h00p30/8bitarray
- paradigmxyz/artemis
- gakonst/ethers-rs
- walletconnect/create-eth-app
- zhangzhuosjtu/web3bugs
- trailofbits/eth-security-toolbox