This repository contains the Cairo contracts for VESU V1.
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.
yarn
scarb run test
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
Copy 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 deployProtocol
scarb run deploySepolia
scarb run deployMainnet