OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Foundry Template

Foundry Template is a public MIT-licensed starter repository for developing Solidity smart contracts with Foundry and Forge. It provides sensible project defaults, manages dependencies through Bun as Node.js packages, and includes Forge Std, OpenZeppelin Contracts, Prettier and Solhint.

Independent OpenViST project profile, based on linked sources.

Foundry Template — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when starting a Solidity smart-contract project and you want Foundry configuration plus common testing, dependency, formatting and linting components in place from the beginning.

Who it is for

  • Solidity developers building Ethereum smart-contract projects
  • Developers who want a preconfigured Foundry and Forge workflow
  • Teams or individuals seeking integrated testing, fuzzing, formatting and linting tools

Documented uses

  • Create a structured Foundry-based Solidity project
  • Compile, test and fuzz smart contracts with Forge
  • Use pre-installed OpenZeppelin Contracts in a contract project
  • Format non-Solidity files with Prettier
  • Lint Solidity code with Solhint
Before you choose

Requirements & limits

The repository is public, accessible through GitHub, and licensed under MIT. No account, pricing or service-availability conditions are documented for the primary project workflow.

  • Choose it when Bun-managed Node.js packages are preferable to Git submodules for Foundry dependencies.
  • Its pre-installed OpenZeppelin Contracts dependency can reduce initial project setup for contracts that use that library.
  • Forge covers compilation, testing, fuzzing, formatting and deployment within the stated workflow.
  • Prettier is included for non-Solidity files, while Solhint targets Solidity linting.
  • The repository provides links for template generation and further Foundry testing guidance, but the excerpt does not document a complete deployment procedure.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
2 October 2026
Original website title
PaulRBerg/foundry-template · Official homepage title · retained in its source language

Related options

foundry-rs/forge-template — A related Foundry template listed by the repository.

refcell/femplate — A related template listed by the repository.

cleanunicorn/ethereum-smartcontract-template — A related Ethereum smart-contract template listed by the repository.

FrankieIsLost/forge-template — A related Forge template listed by the repository.