finds.dev← search

// the find

PaulRBerg/hardhat-template

★ 1,971 · TypeScript · MIT · updated Feb 2026

Hardhat-based template for developing Solidity smart contracts

A Hardhat starter template for Solidity development, wired up with TypeChain, Ethers v6, Solhint, coverage, and gas reporting out of the box. Aimed at developers who want a clean starting point without assembling the toolchain themselves. Paul Rberg knows this space — he's the Sablier/PRBMath author.

TypeChain bindings generated automatically means you get typed contract interactions in tests without manual ABI wrangling. Gas reporting is a first-class citizen via REPORT_GAS=true, not an afterthought. The tooling config files (.solhint.json, .prettierrc.yml, .editorconfig) are pre-tuned to reasonable Solidity conventions so you're not fighting defaults on day one. CI is ready to go with GitHub Actions covering lint and test on every push.

The sample contract is a trivial Lock.sol — there's nothing here showing patterns for upgradeable contracts, proxies, or access control, so teams building anything real still have to figure out their architecture from scratch. No deployment script beyond a toy example; production deployments with multisig or deterministic addresses aren't covered. Last meaningful push was early 2026, and the Hardhat ecosystem moves fast — dependency drift is already a concern. Foundry has largely displaced Hardhat for serious Solidity work in 2025; this template doesn't address that shift or offer a migration path.

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 →