harsh-98 / curve-contract-polygon

Curve.fi exchange implementation for Polygon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

curve-contract-polygon

Curve.fi exchange implementation for Polygon.

Testing and Development

Dependencies

Setup

  1. To get started, first create and initialize a Python virtual environment.

  2. clone the repo and install the developer dependencies:

    git clone https://github.com/curvefi/curve-contract-polygon.git
    cd curve-contract-polygon
    pip install -r requirements.txt
  3. Add Polygon to your local brownie networks:

    brownie networks import network-config.yaml

Running the Tests

Testing is done against a forked mainnet. To run the entire suite:

brownie test

To run tests on a specific pool:

brownie test --pool <POOL NAME>

Valid pool names are the names of the subdirectories within contracts/pools.

You can optionally include the --coverage flag to view a coverage report upon completion of the tests.

License

(c) Curve.Fi, 2021 - All rights reserved.

About

Curve.fi exchange implementation for Polygon.

License:Other


Languages

Language:Python 97.4%Language:JavaScript 2.6%