Profile
Back to NewsBack
GitHub Trending 2 min
Reader Mode
PaulRBerg/foundry-template: Foundry-based template for developing Solidity smart contracts

PaulRBerg/foundry-template: Foundry-based template for developing Solidity smart contracts

16 hours ago

Foundry Template [![Open in Gitpod][gitpod-badge]][gitpod] [![Github Actions][gha-badge]][gha] [![Foundry][foundry-badge]][foundry] [![License: MIT][license-badge]][license]

[gitpod]: https://gitpod.io/#https://github.com/PaulRBerg/foundry-template [gitpod-badge]: https://img.shields.io/badge/Gitpod-Open%20in%20Gitpod-FFB45B?logo=gitpod [gha]: https://github.com/PaulRBerg/foundry-template/actions [gha-badge]: https://github.com/PaulRBerg/foundry-template/actions/workflows/ci.yml/badge.svg [foundry]: https://getfoundry.sh/ [foundry-badge]: https://img.shields.io/badge/Built%20with-Foundry-FFDB1C.svg [license]: https://opensource.org/licenses/MIT [license-badge]: https://img.shields.io/badge/License-MIT-blue.svg

A Foundry-based template for developing Solidity smart contracts, with sensible defaults. Dependencies are managed as Node.js packages via Bun rather than git submodules, and the template ships preconfigured with Forge Std, OpenZeppelin Contracts, Prettier, and Solhint.

What's Inside

  • Forge: compile, test, fuzz, format, and deploy smart
contracts
  • Forge Std: collection of helpful contracts and utilities for testing
  • Bun: manage Foundry dependencies as Node.js packages instead of git submodules
  • OpenZeppelin Contracts: library of secure, community-vetted
smart contracts (pre-installed)
  • Prettier: code formatter for non-Solidity files
  • Solhint: linter for Solidity code

Links

Related Projects

Contributing

Contributions are welcome. See AGENTS.md for the development workflow, commands, and conventions.

License

This project is licensed under MIT — see the LICENSE file for details.

Chat with me