Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.17 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.17 KB

golos-witness-tools

This is a set of scripts for golos blockchain witness operators.

Scripts

Requirements

  • golos node 0.22+

Installation via poetry

  1. Install poetry
  2. Run poetry install to install the dependencies
  3. Copy common.yml.example to common.yml and change variables according to your needs
  4. Now you're ready to run scripts:
poetry shell
./script.py

Running scripts in docker

Plain docker example:

docker run -it --rm vvk123/golos-witness-tools:latest ./update_price_feed.py --dry-run

docker-compose:

  • copy docker-compose.yml.example to docker-compose.yml
  • adjust environment variables in docker-compose.yml. Look for all env vars in docker-entrypoint.sh
docker-compose up -d

To manually build docker image:

docker build -t vvk123/golos-witness-tools:latest .