Vault 1.5 Developer Quickstart

This documentation shows how to get started

Please see the Vaults 1.5 Repo Readme:

  1. Download the code with git clone URL_FROM_GITHUB

  2. Install Brownie & Ganache-CLI, if you haven't already.

  3. Copy the .env.example file, and rename it to .env

  4. Sign up for Infura and generate an API key. Store it in the WEB3_INFURA_PROJECT_ID environment variable.

  5. Sign up for Etherscan and generate an API key. This is required for fetching source codes of the mainnet contracts we will be interacting with. Store the API key in the ETHERSCAN_TOKEN environment variable.

  6. Install the dependencies in the package

## Javascript dependencies
npm i

## Python Dependencies
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt

Basic Use

To deploy the demo Badger Strategy in a development environment:

Use the console

Open the Brownie console. This automatically launches Ganache on a forked mainnet.

  brownie console

Run Scripts for Deployment

  brownie run 1_production_deploy.py

Run tests

brownie test

Last updated

Was this helpful?