Sushi Lending Foundry

Prerequisites

  • Foundry
  • Make

Getting Started

Initialize

make init

Make a copy of .env.defaults to .env and set the desired parameters.

Build and Test.

make build
make test

Deploy & Verify

Installing Libs

forge install <git repo name><@optionnal_tag_or_commit_hash>
make remappings

Update a lib

foundry update lib/<package>

Updating Foundry

This will update to the latest Foundry release

foundryup

Playground

Playground is a place to make quick tests. Everything that could be inside a normal test can be used there. Use case can be to test out some gas optimisation, decoding some data, play around with solidiy, etc.

make playground