Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.21 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.21 KB

NuCypher contracts

Contracts from the main NuCypher codebase extracted into a separate repo for ease of testing.

Installation

Configuring Pre-commit

To install pre-commit locally:

pre-commit install

Github Actions envvars

In future, we may need to set the following:

  • ETHERSCAN_TOKEN: Etherscan API token, required to query source files from Etherscan.
  • GITHUB_TOKEN: Github personal access token, required by py-solc-x when querying installable solc versions.
  • WEB3_INFURA_PROJECT_ID: Infura project ID, required for connecting to Infura hosted nodes.

Running the Tests

This project uses tox to standardize the local and remote testing environments. Note that tox will install the dependencies from requirements.txt automatically and run a linter (black); if that is not desirable, you can just run py.test.