Skip to content

protocol-review/foundry-template

Repository files navigation

Foundry Template

Table of Contents

Install Foundry

See the Foudry Github repo for installation.

Install Libraries

forge install

Set up remappings

forge remappings > remappings.txt

Set up env

cp .env.example .env

Update .env to include all variables.

Compile files

make build

To run all tests

make test

To run tests with logs

make test-log

To run tests with gas report

make test-gas-report

To run a specific test suite

make test-match contract=${contract-name}

To run a specific test

make test-match-test test=${function-name}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages