Skip to content

bitphage/golos-witness-tools

Repository files navigation

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 .

About

Scripts for golos blockchain witness operators

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published