Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 782 Bytes

README.md

File metadata and controls

55 lines (35 loc) · 782 Bytes

Foundry template

This is a template for a Foundry project.

Installation

To install with DappTools:

dapp install [user]/[repo]

To install with Foundry:

forge install [user]/[repo]

Local development

This project uses Foundry as the development framework.

Dependencies

forge install

Compilation

forge build

Testing

forge test

Contract deployment

Please create a .env file before deployment. An example can be found in .env.example.

Dryrun

forge script script/Deploy.s.sol -f [network]

Live

forge script script/Deploy.s.sol -f [network] --verify --broadcast