sushiswap / kashi-foundry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sushi Lending Foundry

Prerequisites

  • Foundry
  • Make

Getting Started

Initialize

make init

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

  • Uses Tenderly forks for testing, make sure to add the tenderly fork id to .env.defaults *

Build and Test.

make spinup

In another terminal:

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

About


Languages

Language:Solidity 99.7%Language:Makefile 0.3%Language:Nix 0.0%