This repository contains the Cairo contracts for the Vesu V2 lending protocol.
This project uses Starknet Foundry for testing. To install Starknet Foundry follow these instructions.
We advise that you use nvm to manage your Node versions.
node v19.7.0
yarnscarb run testCopy and update the contents of .env.example to .env.
Declare and deploy all contracts under src using the account with PRIVATE_KEY and ADDRESS specified in .env
scarb run deployMainnet
POOL=<POOL_ADDRESS> scarb run verifyPoolscarb run printPoolParams
scarb run checkSecurityInvariants