Skip to content
forked from vesuxyz/vesu-v1

The Vesu permissionless lending protocol

License

Notifications You must be signed in to change notification settings

lindy-labs/vesu-v1

 
 

Repository files navigation

VESU Contracts V1

This repository contains the Cairo contracts for VESU V1.

Overview

Screenshot 2024-05-21 at 16 26 34

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.

yarn

Test

scarb run test

Gas Reporting

Requires running a local devnet. You should have docker installed, then you can start the devnet by running the following command:

scarb run startDevnet
# in another terminal instance
scarb run updateGasReport

Deployment

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 deployProtocol
scarb run deploySepolia
scarb run deployMainnet

About

The Vesu permissionless lending protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Cairo 91.9%
  • TypeScript 8.0%
  • Shell 0.1%