git404hub

what is foundry-hardhat fr?

libaice/foundry-hardhat — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2023-10-29

TypeScriptAudience · developerComplexity · 3/5DormantSetup · moderate

tl;dr

A starter template that lets you use Foundry and Hardhat together in one smart contract project, sharing dependencies between both tools.

vibe map

mindmap
  root((repo))
    What it does
      Bridges Foundry Hardhat
      Shares dependencies
      Unified testing
    Tech stack
      TypeScript
      Foundry
      Hardhat
      Solidity
    Use cases
      Smart contract dev
      Tool migration
      Team flexibility
    Audience
      Smart contract devs
      Blockchain teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Write and test smart contracts using either Foundry or Hardhat depending on the task at hand.

VIBE 2

Install dependencies once with Foundry and have Hardhat automatically find them via remappings.

VIBE 3

Gradually migrate a project from one tool to the other without rewriting the whole setup.

VIBE 4

Let team members with different tool preferences work in the same shared codebase.

what's the stack?

TypeScriptFoundryHardhatSolidity

how it stacks up fr

libaice/foundry-hardhat0xradioac7iv/tempfs7vignesh/pgpulse
Stars00
LanguageTypeScriptTypeScriptTypeScript
Last pushed2023-10-29
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires manually updating the remappings file whenever a new Foundry dependency is added.

prompts (copy fr)

prompt 1
Show me how to set up this Foundry-Hardhat starter template for a new smart contract project.
prompt 2
Explain how remappings.txt lets Hardhat find libraries installed by Foundry.
prompt 3
Help me run the same test suite using both forge test and npx hardhat test.
prompt 4
Walk me through adding a new Foundry dependency and updating the remappings file correctly.

Frequently asked questions

what is foundry-hardhat fr?

A starter template that lets you use Foundry and Hardhat together in one smart contract project, sharing dependencies between both tools.

What language is foundry-hardhat written in?

Mainly TypeScript. The stack also includes TypeScript, Foundry, Hardhat.

Is foundry-hardhat actively maintained?

Dormant — no commits in 2+ years (last push 2023-10-29).

How hard is foundry-hardhat to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is foundry-hardhat for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.