Skip to content

sherlock-protocol/sherlock-interface

Repository files navigation

Python 3 needs to be installed together with virtualenv.

Use python3 --version to check if python3 is installed

python3 -m virtualenv venv to create a virtual env.

source venv/bin/activate to active the environment

pip install -r requirements.txt to install dependencies

Put the following data in .env file

NETWORK=KOVAN
CHAINID=42
INFURA_TOKEN=
DOCS_BASEURL=
CONTRACTS=
INDEXER_TIMEOUT=60

Run python worker_initial.py to index data that is not updated as much.

Worker runs periodically in another thread if export FLASK_ENV=development, run in different process in production.

Run python app.py (inside you virtualenv) to start the web server.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •