Skip to content

cardene777/hardhat-foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hardhat + Foundry

Quick Start

Clone

git clone [email protected]:cardene777/hardhat-foundry.git

Remove .git

cd hardhat-foundry
rm -rf .git

Install

bun install
npm install
forge install

Compile

forge build
  • output
[⠢] Compiling...
[⠔] Compiling 47 files with 0.8.23
[⠒] Solc 0.8.23 finished in ...s
Compiler run successful!

Test

forge test
  • output
[⠢] Compiling...
[⠃] Compiling 47 files with 0.8.23
[⠑] Solc 0.8.23 finished in ...s
Compiler run successful!

No tests found in project! Forge looks for functions that starts with `test`.

Deploy

npx hardhat deploy:deploy-nft --network z_kyoto --contract-name HardhatFoundryERC721 --name HardhatFoundryNft --symbol HFT

Check Contract

Install

poetry shell
poetry install

Run

slither . --compile-force-framework hardhat

About

hardhat + foundry development environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published