Skip to content

vesuxyz/vesu-v2

Repository files navigation

Vesu V2 Contracts

This repository contains the Cairo contracts for the Vesu V2 lending protocol.

Overview

vesu-v2-architecture

Setup

Requirements

This project uses Starknet Foundry for testing. To install Starknet Foundry follow these instructions.

Install

We advise that you use nvm to manage your Node versions.

node v19.7.0

yarn

Test

scarb run test

Scripts

Prerequisite

Copy and update the contents of .env.example to .env.

Declare and deploy contracts

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 verifyPool

Check the pool state

scarb run printPoolParams
scarb run checkSecurityInvariants

About

Cairo contracts for the Vesu V2 lending protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors