shapeshift / yearn-router

Shapeshift's affiliate router for Yearn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ShapeShift DAOs Yearn Affiliate Router

Installation and Setup

You will need Python 3, virtualenv, and Ganache-CLI installed. You will also need to sign up for Infura and get your own project ID.

# Check out the submodules
git submodule init && git submodule update --init --recursive
# Create new python virtualenv in the .virtualenv folder
virtualenv .virtualenv
# Activate the virtualenv
source ./.virtualenv/bin/activate
# Install python deps
pip install -r requirements-dev.txt
# Export environment variable with Infura project ID
export WEB3_INFURA_PROJECT_ID=<YourInfuraProjectIDHere>

Once you have the dependencies are installed and the infura project ID exported, compile with brownie compile and run tests with brownie test. Note that the virtualenv activation and infura project ID export need to be done in each shell you want to use Brownie in:

source ./.virtualenv/bin/activate
export WEB3_INFURA_PROJECT_ID=<YourInfuraProjectIDHere>

Resources

Mainnet Deployment

Contract is currently deployed to mainnet at 0x6a1e73f12018D8e5f966ce794aa2921941feB17E

Please see the security folder for the audit.

About

Shapeshift's affiliate router for Yearn

License:GNU Affero General Public License v3.0


Languages

Language:Python 57.5%Language:Solidity 42.3%Language:Shell 0.1%