Vault 1.5 Developer Quickstart
This documentation shows how to get started
Please see the Vaults 1.5 Repo Readme:
Download the code with
git clone URL_FROM_GITHUB
Install Brownie & Ganache-CLI, if you haven't already.
Copy the
.env.example
file, and rename it to.env
Sign up for Infura and generate an API key. Store it in the
WEB3_INFURA_PROJECT_ID
environment variable.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.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?