Skip to content

arrayfinance/array-contracts

 
 

Repository files navigation

Array Contracts

Repo for Array contracts.

Testing

The testing-suite is configured for use with Ganache on a forked mainnet.

To run the tests:

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

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

export WEB3_INFURA_PROJECT_ID=YourProjectID
  1. 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.
export ETHERSCAN_TOKEN=YourApiToken
  1. Install project dependencies.
pip install -r requirements.txt
  1. Run the tests.
brownie test -v -C -G

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors