finds.dev← search

// the find

PaulRBerg/foundry-template

★ 640 · Solidity · MIT · updated May 2026

Foundry-based template for developing Solidity smart contracts

A Foundry template for Solidity development that swaps git submodules for Bun-managed npm packages. From Paul Berg (Sablier), so it reflects real production experience. Aimed at developers who want a sensible starting point without cargo-culting the official forge-template.

Using Bun/npm for dependency management instead of git submodules is the right call — submodules are a footgun for versioning and auditing. Ships with Solhint pre-configured, which catches common Solidity pitfalls before they become audit findings. The CI workflow is minimal and actually runs fuzz tests, not just unit tests. devcontainer + Gitpod support means the environment is reproducible from day one.

The template src/Foo.sol is a placeholder with essentially no substance — you're on your own to figure out how to structure a real multi-contract project. No gas snapshot baseline or gas reporting setup, which matters the moment you start optimizing. No coverage reporting in CI. 640 stars but only one real contract file — you should look at the Sablier repos directly if you want to see how Berg actually structures production code rather than inferring it from a thin template.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →